Self-contained modules
Each module holds its own providers, routes, controllers, models, views, migrations, config and translations in one folder.
Self-contained modules
Each module holds its own providers, routes, controllers, models, views, migrations, config and translations in one folder.
Generators
module:make creates a module. module:make-controller, module:make-model, module:make-migration and more create the classes inside it.
Enable and disable
Disable a module and the package stops registering its providers. Its routes disappear until you enable it again.
Module-aware database commands
module:migrate, module:seed and the rollback, reset, refresh and fresh variants run for one module or for all of them.
Install the package with Composer:
composer require nwidart/laravel-modules