symfony1-plugin axis-module-routing-plugin
symfony 1.x plugin that allows you to define routing configuration at module level.
axis/axis-module-routing-plugin
symfony 1.x plugin that allows you to define routing configuration at module level.
- Friday, April 25, 2014
- by 7heaven
- Repository
- 1 Watchers
- 1 Stars
- 133 Installations
- PHP
- 0 Dependents
- 1 Suggesters
- 1 Forks
- 2 Open issues
- 3 Versions
- 0 % Grown
AxisModuleRouting Plugin
Installation
Composer way
Just add axis/axis-module-routing-plugin
dependency to your composer.json
file:, (*1)
"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., (*2)
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., (*3)
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., (*4)
Known Issues
-
module_routing.yml
configuration files in your project's application modules will be not handled unless your
explicitly specify module as enabled in your applicaiton's settings.yml
.