modera/module-bundle
最新稳定版本:v5.0.0
Composer 安装命令:
composer require modera/module-bundle
包简介
Adds support for dynamical bundles installation.
README 文档
README
Makes it possible to dynamically install and inject new bundles to your AppKernel class when a new bundle
is installed by composer. To make your bundle susceptible to automatic kernel installation please add similar lines
to your composer.json file:
{
"extra": {
"modera-module": {
"register-bundle": "MyCompany\\HelloWorldBundle\\MyCompanyHelloWorldBundle"
}
}
}
Installation
Step 1: Download the Bundle
composer require modera/module-bundle:5.x-dev
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
This bundle should be automatically enabled by Flex.
In case you don't use Flex, you'll need to manually enable the bundle by
adding the following line in the config/bundles.php file of your project:
<?php // config/bundles.php return [ // ... Modera\ModuleBundle\ModeraModuleBundle::class => ['all' => true], ];
Licensing
This bundle is under the MIT license. See the complete license in the bundle: Resources/meta/LICENSE
统计信息
- 总下载量: 5.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-12