Features
Categories
How to manage Categories in Larafast Directories Project
Directories project has a 2 ways to manage categories.
From Seeder Files
For initial setup, you can add categories in database/seeders/CategorySeeder.php
file and run the seeder to add them to the database.
If you already run php artisan migrate --seed
command, you can manage categories from the admin panel.
If you want to refresh the categories, you can run php artisan migrate:fresh --seed
This command will reset the database and add the categories from the seeder file.
database/seeders/CategorySeeder.php
From Admin Panel
In the admin panel /admin/categories
you can manage categories. You can add, edit, delete, and add new categories from the admin panel.