NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1395 most downloaded on Packagist
Symfony RoutingBundle
Last release 6 months ago
24 Mar 2026
Ships fairly regularly
a new release about every 6 months
Most releases are documented
notes for 22 of 30 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
55 releases · first in 2013
Rewrote service configurations from XML to PHP.
Fix deprecations with Symfony 7.4.
One column per quarter.
Fix export-ignore configuration file to not export tests in installations.
Doctrine ORM 3 support If you use the ORM route entity, you need to migrate your database configuration as the array fields needed to be changed to th
json type (because array has been removed)Do not register CmfRoutingBundle alias for ORM / PHPCR-ODM when we have doctrine/persistence 3.x as the short alias is no longer supported.
[ORM] Quote condition in ORM mapping as it has become a reserved keyword in recent MySQL versions
condition in ORM mapping as it has become a reserved keyword in recent MySQL versionsRemoved deprecated classes, see UPGRADE-3.0.md
Creating a correct index for ORM, without duplicating indexes for the "name" column
Make dependency on twig optional, as it is not necessary for the bundle.
Allow installation with PHP 8.
Fix for indirect dependency doctrine/persistence dropping the BC layer in its new major version.
Support Symfony 5. Minimum Symfony version is now 4.4.
Implemented redirect route feature for the Doctrine ORM model
Fix Symfony deprecations and raise lowest versions to 3.4 || 4.3
Make redirect controller service public to avoid errors while handling redirects.
2017-11-11: Removed php 5.6 and 7.0 support, removed Symfony 3.0.* and 3.1.* support
Nothing published for this version
2018-01-22: Fixed syntax error in ValidationPass.
2018-01-18: Do not fail when the validator is not enabled.
2017-09-25: This bundle can now also directly use the Twig loader instead of the deprecated templating component. Symfony FrameworkBundle no longer re…
Released
Released
2017-02-17: [BC BREAK] DynamicRouter::setRequest has been replaced with DynamicRouter::setRequestStack.
2017-02-06: [BC BREAK] The _template request parameter will be renamed to the template attribute instead of the contentTemplate attribute. The old att
_template request parameter will be renamed
to the template attribute instead of the contentTemplate attribute. The
old attribute will still be available for backwards compatibility.cmf_routing.dynamic.persistence.phpcr.content_basepath2016-12-02: [BC BREAK] Moved all sonata related code to sonata-phpcr-admin-integration-bundle
*.class parameters.cmf_routing.dynamic.persistence.phpcr.route_basepath
setting.getAddFormatPattern()/setAddFormatPattern()
and getPattern() methods from the model Route.getAddTrailingSlash()/setAddTrailingSlash()
methods from the PHPCR Route and RedirectRoute.RouteAdmin::setControllerResolver() and
RouteAdmin::$controllerResolver.Nothing published for this version
Nothing published for this version
2015-10-28: Deprecated cmf_routing.dynamic.persistence.phpcr.route_basepath setting and parameter in favor of cmf_routing.dynamic.persistence.phpcr.ro…
orm.naming_strategy. It is now safe to use a non-default
naming strategy. If you did a workaround to use a naming strategy, you might need to
look into that.cmf_routing.dynamic.persistence.phpcr.route_basepath
setting and parameter in favor of cmf_routing.dynamic.persistence.phpcr.route_basepaths.
The old names will be kept for BC reasons and removed in 2.0.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
2014-08-07: PHPCR RouteProvider no longer allows colons in the URI as they are interpreted as namespaces, leading to errors.
Release 1.2.0
Release 1.2.0
Nothing published for this version
2014-04-23: changed cmf_routing.dynamic.route_collection_limit default to 0
2014-04-23: changed cmf_routing.dynamic.route_collection_limit default to 0
2014-04-15: Removed the unused ContentAwareGenerator class from the bundle. Since 1.1 the one from the routing component was used.
2014-04-14: DynamicRouter no longer implements the ContainerAwareInterface
2014-04-11: drop Symfony 2.2 compatibility
2014-03-25: [PHPCR] setParent() and getParent() are now deprecated. Use setParentDocument() and getParentDocument() instead. Moreover, you should now…
2014-03-29: [Multilang] Added some options to support locale matching
without separate routes per locale. See the new configuration options
match_implicit_locale and auto_locale_pattern.
2014-03-29: [PHPCR] The route provider can now load Routes from more than
path in PHPCR. The configuration option route_basepath is renamed to
route_basepaths and accepts a list of base paths. See the changelog of
the SimpleCmsBundle as the main impact is on that side.
2014-03-29: Route document and entity constructor changed. The options are no longer mapped separately but as route options. See UPGRADE-1.2.md for instructions.
2014-03-26: [ORM] Applied the cleanup for the PHPCR provider to the ORM provider now: If the route matched a pattern with a format extension, the format extension is no longer set as route a default.
2014-03-25: [PHPCR] setParent() and getParent() are now deprecated. Use setParentDocument() and getParentDocument() instead. Moreover, you should now enable the ChildExtension from the CoreBundle.
2014-03-23: [PHPCR] urls can now be generated from the route uuid as route name as well, in addition to the repository path.
2013-12-23: add support for ChainRouter::getRouteCollection(), added new
config setting cmf_routing.dynamic.route_collection_limit
2013-11-28: [BC BREAK for xml configuration] the alias attribute of the <template-by-class> is renamed to class in the bundle configuration.
Nothing published for this version
2013-10-14: The route enhancers now have a non-default priority so that the order is defined and you can add your own enhancers.
2013-05-28: [Bundle] Only include Doctrine PHPCR compiler pass if PHPCR-ODM is present.
setManagerName() in the same way as
RouteProvider.cmf_routing.default_route_provider does this for you). To
use a different document manager from the registry, call setManagerName()
on the RouteProvider.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
2013-10-08: The idPrefix is now used as a filter in getRouteByName() and getRoutesByNames() in the PHPCR RouteProvider. This means its no longer possi
Nothing published for this version
Nothing published for this version
2013-09-04: If the route matched a pattern with a format extension, the format extension is no longer set as route a default.
Nothing published for this version
Nothing published for this version
2013-08-04: [PHPCR-ODM] Fixed the configuration of the LocaleListener to make routes again automatically provide the _locale based on their repository
Nothing published for this version
2013-07-31: [EventDispatcher] Added events to the dynamic router at the start of match and matchRequest.
phpcr_provider config
into persistence -> phpcr to match other Bundles.enabled flag to
phpcr_provider config.Your coding agent can read these notes before it upgrades. Set up the MCP server →