symfony 1.x plugin that allows you to define routing configuration at module level.

1.0.2 2014-04-25 10:48 UTC



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 to plugins/AxisModuleRoutingPlugin folder in your project.


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.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.