onbuilderx / lumen-rmbasemodule
Modular Management in Lumen
dev-main
2022-11-04 08:16 UTC
Requires
- php: >=7.2
- ext-json: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- laravel/framework: 6.0.*
- mockery/mockery: ~1.0
- orchestra/testbench: ^4.0
- phpstan/phpstan: ^0.9.2
- phpunit/phpunit: ~7.0|~8.0
- spatie/phpunit-snapshot-assertions: ^2.1.0
This package is auto-updated.
Last update: 2025-02-04 13:06:40 UTC
README
Modular Management in Lumen
Features
lumen-rmbasemodule is a lumen package which created to manage your large atomic lumen app using modules.
Install
To install through Composer, by run the following command:
composer require onbuilderx/lumen-rmbasemodule
after install complete, load the config and the service provider in bootstrap/app.php
$app->register(RmBased\Modules\LumenModulesServiceProvider::class);
By default the module classes are not loaded automatically. You can autoload your modules using psr-4
. Add in your composer.json :
{ "autoload": { "psr-4": { "App\\": "app/", "Modules\\": "modules/" } } }
Tip: don't forget to run composer dump-autoload
afterwards.
Documentation
You'll find installation instructions and full documentation on https://nwidart.com/laravel-modules/.
Credits
License
The MIT License (MIT).