Extract and modularize your code for maintainability. Essentially creates "mini-laravel" structures to organize your application.
This package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.
You will find user friendly and updated documentation in the wiki here: Caffeinated Modules Wiki
Simply install the package through Composer. From here the package will automatically register its service provider.
composer require caffeinated/modules
Optionally, you may also register the accompanying facade for easier access to the underlying API. Inside your project's config/app.php file, add the following to the array of facades:
'Module' => Caffeinated\Modules\Facades\Module::class,
To publish the config file, run the following:
php artisan vendor:publish --provider="Caffeinated\Modules\ModulesServiceProvider" --tag="config"
Run the tests with:
vendor/bin/phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email shea.lewis89@gmail.com directly instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.