expstudio/lumen-modules
最新稳定版本:v5.0.1
Composer 安装命令:
composer require expstudio/lumen-modules
包简介
Lumen 5.4 Modules
关键字:
README 文档
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);
统计信息
- 总下载量: 4.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-31