axis/axis-module-routing-plugin
最新稳定版本:1.0.2
Composer 安装命令:
composer require axis/axis-module-routing-plugin
包简介
symfony 1.x plugin that allows you to define routing configuration at module level.
README 文档
README
Installation
Composer way
Just add axis/axis-module-routing-plugin dependency to your composer.json file:
"require": { "axis/axis-module-routing-plugin": "dev-master" }
Git way
Also you can clone https://github.com/e1himself/axis-module-routing-plugin.git to plugins/AxisModuleRoutingPlugin
folder in your project.
Usage
You can create module_routing.yml files within module's config dir.
All routes defined in module_routing.yml from enabled modules' config folders will be added to application routing.
Additional options
position option
You can define position of a route to tell where it should be added to applicaiton routing: at the end or at the beginning.
The only supported value for now is last - route will be appended to the end. Otherwise it will be prepended.
Default is to prepend.
Known Issues
module_routing.ymlconfiguration files in your project's application modules will be not handled unless your explicitly specify module as enabled in your applicaiton'ssettings.yml.
统计信息
- 总下载量: 143
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-29