📦 Modules package for the Laravel 5 framework
kaidesu Merge pull request #369 from nickurt/feature/laravel57
Added support for Laravel 5.7+, and changed some small other things ...
Latest commit 21b85f0 Sep 5, 2018

README.md

Caffeinated Modules

Latest Stable Version Laravel 5.7 License Source Total Downloads

Caffeinated Modules is a simple package to allow the means to separate your Laravel 5.7+ application out into modules. Each module is completely self-contained allowing the ability to simply drop a module in for use.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

Documentation

You will find user friendly and updated documentation in the wiki here: Caffeinated Modules Wiki

Quick Installation

Begin by installing the package through Composer.

composer require caffeinated/modules

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:

Service Provider

Caffeinated\Modules\ModulesServiceProvider::class,

Facade

'Module' => Caffeinated\Modules\Facades\Module::class,

And that's it! With your coffee in reach, start building out some awesome modules!

Tests

Run the tests with:

vendor/bin/phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.