expstudio / lumen-modules
Lumen 5.4 Modules
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
Suggests
- wikimedia/composer-merge-plugin: Allows the ability to create and merge composer.json files for your individual modules for module-specific dependency management.
- dev-master
- v5.0.x-dev
- v5.0.1
- v5.0.0
- v4.2.1
- v4.2
- v4.1.6
- v4.1.5
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1
- v4.0.9
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2
- v2.1.11
- v2.1.10
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1
- v2.0.2
- v2.0.1
- v1.2.3
This package is not auto-updated.
Last update: 2024-11-08 03:37:32 UTC
README
Expstudio Modules
Expstudio Modules is a simple package to allow the means to separate your Lumen 5.4 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 expstudio/lumen-modules
Once this operation is complete, simply add both the service provider and facade classes to your project's bootstrap/app.php
file:
Service Provider
$app->register(Expstudio\Modules\ModulesServiceProvider::class);
Facade
$app->withFacades(true, [Expstudio\Modules\Facades\Module::class => 'Module']);
And that's it! With your coffee in reach, start building out some awesome modules!
Add Module
$app->register(App\Modules\[ModuleName]\Providers\ModuleServiceProvider::class);