Skip to content
Routing component building on the Symfony2 Routing component
Failed to load latest commit information.
Candidates Applied CS fixes
DependencyInjection/Compiler Update year in the license headers
Enhancer Applied CS fixes
Event Applied CS fixes
NestedMatcher Applied CS fixes
Test Update year in the license headers
Tests fix the edge case of double leading slash when rebuilding request
.gitignore split ChainRoutingBundle into Routing component (this) and a RoutingE…
.styleci.yml Added styleci.yml
.travis.yml Improve Travis setup fix the edge case of double leading slash when rebuilding request adding contributing file
ChainRouteCollection.php Applied CS fixes
ChainRouter.php fix building url. merged #167 too fast
ChainRouterInterface.php Applied CS fixes
ChainedRouterInterface.php Update year in the license headers
ContentAwareGenerator.php Applied CS fixes
ContentRepositoryInterface.php Update year in the license headers
DynamicRouter.php Fix some Symfony 3 support
LICENSE Update year in the license headers
LazyRouteCollection.php Applied CS fixes
PagedRouteCollection.php Applied CS fixes
PagedRouteProviderInterface.php Applied CS fixes
ProviderBasedGenerator.php Merge pull request #161 from symfony-cmf/fix-route-by-name Fix typo in
RedirectRouteInterface.php Applied CS fixes
RouteObjectInterface.php better explain getRouteKey method
RouteProviderInterface.php Applied CS fixes
RouteReferrersInterface.php Update year in the license headers
RouteReferrersReadInterface.php Update year in the license headers
VersatileGeneratorInterface.php Applied CS fixes
composer.json Allow FosJsRouting dev for Symfony 3
phpunit.xml.dist Use CMF Testing bootstrap to get DeprecatedErrorHandler

Symfony CMF Routing Component

Build Status Latest Stable Version Total Downloads

The Symfony CMF Routing component extends the Symfony2 core routing component. It provides:

  • A ChainRouter to run several routers in parallel
  • A DynamicRouter that can load routes from any database and can generate additional information in the route match.

Even though it has Symfony in its name, the Routing component does not need the full Symfony2 Framework and can be used in standalone projects.

For Symfony 2 projects, an optional RoutingBundle is also available.

This library is provided by the Symfony Content Management Framework (CMF) project and licensed under the MIT License.


  • The Symfony Routing component (>= 2.2.0)
  • See also the require section of composer.json


For the install guide and reference, see:

See also:


Pull requests are welcome. Please see our CONTRIBUTING guide.

Unit and/or functional tests exist for this component. See the Testing documentation for a guide to running the tests.

Thanks to everyone who has contributed already.

Something went wrong with that request. Please try again.