This bundle allows you to use the object-routing library.
Instal the bundle with composer:
"require": {
…
"benjam1/object-routing-bundle": "^1.0"
}And run:
$ php composer.phar update benjam1/object-routing-bundleFor more documentation about the usage of this bundle see the library's one