mohamed7sameer/backpack-store

Implement Products API & MYSQL for dackpack

8.0.0 2023-09-18 05:38 UTC

This package is auto-updated.

Last update: 2024-12-18 08:32:28 UTC


README

Build Status Coverage Status

Packagist Packagist Packagist

This package provides a quick starter kit for implementing a store for Laravel Backpack. Provides a database, CRUD interface, API routes and more.

Installation

Install via composer

composer require mohamed7sameer/backpack-store

Migrate

php artisan migrate

Publish

Configuration File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="config"

Views File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="views"

Languages File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="langs"

Migrations File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="migrations"

Routes File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="routes"

Traits File

php artisan vendor:publish --provider="Backpack\Store\ServiceProvider" --tag="traits"

Usage

Seeders

php artisan db:seed --class="Backpack\Store\database\seeders\StoreSeeder"

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits