The Laravel Modules Base overwrite routes, resources, or others files.
With help of package allenwakeup/laravel-modules, there is an opportunity that makes laravel in modules.
To install through Composer, by run the following command:
composer require goodcatch/laravel-module-base
php artisan goodcatch:table
php artisan migrate
php artisan goodcatch:cache
php artisan goodcatch:seed base
just following commands.
php artisan vendor:publish --tag=goodcatch-modules-base --force
note: make project clean and then publish files.
build front-end
yarn run prod
or
yarn run dev
- add menu, role menu mapping, permission, role permission mapping
checkout permission seeder