Package Data | |
---|---|
Maintainer Username: | ferrl |
Maintainer Contact: | lucasferreira@rits.com.br (Lucas Ferreira) |
Package Create Date: | 2017-05-30 |
Package Last Update: | 2017-05-31 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:17:22 |
Package Statistics | |
---|---|
Total Downloads: | 13 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Offers a easy way to modularize your laravel app.
Require this package with composer:
composer require rits/modular
After updating composer, add the ModularServiceProvider to the providers array in config/app.php. Use vendor:publish command to create the configuration file.
php artisan vendor:publish --tag=rits/modular
You can choose wherever you want to store your modules. In most cases app/Modules is a good choice. Create a class that extends the ModuleDefinition class, and add the class name in the modular.php config file.
Example:
All module's controllers must be in a Controllers folder in the module main directory.