faridlab/salt-laravel-categories

v10.0.5 2024-11-11 18:02 UTC

This package is auto-updated.

Last update: 2024-12-11 18:10:17 UTC


README

General information about this package.

Installation

To install this package, please run this command below: $ composer require faridlab/salt-laravel-categories

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=categories-config

This will add a new categories.php file in the config directory.

Publishing Migrations and Seeds

To publish the migration file, run the following command:

$ php artisan vendor:publish --tag=categories-migrations

To publish the seeder file, run the following command:

$ php artisan vendor:publish --tag=categories-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=CategoriesProductSeeder

Contributing

Information about contributing to this package.