faridlab / salt-laravel-product
Requires
- php: ^8.0.2
- doctrine/dbal: ^3.3
- faridlab/laravel-search-query: ^9.0
- faridlab/salt-laravel: ^10
- faridlab/salt-laravel-countries: ^10
- faridlab/salt-laravel-file: ^10
- laravel/framework: ^10.0
- zircote/swagger-php: ^4.4
Requires (Dev)
- orchestra/testbench: ^6.0
- phpstan/phpstan: ^0.12
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-01-08 16:45:48 UTC
README
General information about this package.
Installation
To install this package, please run this command below:
$ composer require faridlab/salt-laravel-product
Using this package
Information about using this package
Publishing Configurations
To publish the config file of our package, run the following command:
$ php artisan vendor:publish --tag=product-config
This will add a new product.php
file in the config directory.
Publishing Migrations and Seeds
To publish the migration file, run the following command:
$ php artisan vendor:publish --tag=product-migrations
To publish the seeder file, run the following command:
$ php artisan vendor:publish --tag=product-seeds
Next, edit the .env file with your database credentials and run the following command to execute the migrations:
$ php artisan migrate
Run the command to seed the database with some random data:
$ php artisan db:seed --class=ProductProductSeeder
Contributing
Information about contributing to this package.