flame/module-installer
最新稳定版本:v0.1.2
Composer 安装命令:
composer require flame/module-installer
包简介
Custom installer for Nette modules
关键字:
README 文档
README
This is a custom installer for Composer packaging system which helps installing Nette Modules.
Creating an Module
To create a new Nette Module, simply create it as a Composer package. There are only a few differences from normal Composer packages:
- Set type to
nette-module - Add this installer as a requirement:
flame/module-installer: @dev - Set extra section of composer.json
Here is an example:
{
"extra": {
"module": {
"class": "Flame\\CMS\\ErrorModule\\DI\\ErrorExtension",
"name": "Error"
}
}
}
Name is optional
Look at this composer.json for full example.
Your extension will be added into app/config/extensions.(php|neon) file
Please create first the file with php or neon extension
统计信息
- 总下载量: 23.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3
- 更新时间: 2013-07-25