symfony-cmf/routing-bundle
Symfony RoutingBundle
3.2.0
15M downloads/mo
#1430 most downloaded on Packagist
symfony-cmf/routing-bundle
What this package is like to depend on
Last release 5 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
2 releases in the last 12 months
see the full history below
Release timeline
55 releases · May 2013 to Mar 2026Releases
latest 55-
3.2.024 Mar 2026 -
3.1.203 Dec 2025 -
3.1.131 Mar 2025Release notes
Open source →- Fix export-ignore configuration file to not export tests in installations.
Release notes
Open source →- Fix export-ignore configuration file to not export tests in installations.
-
3.1.007 Apr 2024Release notes
Open source →- Symfony 7 support
- 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 thejsontype (becausearrayhas been removed)
Release notes
Open source →- Symfony 7 support
- 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 the
jsontype (becausearrayhas been removed)
-
3.0.203 Jun 2023Release notes
Open source →- Do not register CmfRoutingBundle alias for ORM / PHPCR-ODM when we have doctrine/persistence 3.x as the short alias is no longer supported.
Release notes
Open source →- Do not register CmfRoutingBundle alias for ORM / PHPCR-ODM when we have doctrine/persistence 3.x as the short alias is no longer supported.
-
3.0.119 Jun 2022Release notes
Open source →- [ORM] Quote
conditionin ORM mapping as it has become a reserved keyword in recent MySQL versions - [ORM] Fix getRouteKey to return the route name rather than the numeric MySQL row id
Release notes
Open source →- [ORM] Quote
conditionin ORM mapping as it has become a reserved keyword in recent MySQL versions - [ORM] Fix getRouteKey to return the route name rather than the numeric MySQL row id
- [ORM] Quote
-
3.0.011 Feb 2022Release notes
Open source →- Support Symfony 6
- Drop support for Symfony older than 6 and PHP older than 8
- Removed deprecated classes, see UPGRADE-3.0.md
- Removed RouteConditionMetadataListener and added condition mapping to ORM and PHPCR route mapping.
Release notes
Open source →- Support Symfony 6
- Drop support for Symfony older than 6 and PHP older than 8
- Removed deprecated classes, see UPGRADE-3.0.md
- Removed RouteConditionMetadataListener and added condition mapping to ORM and PHPCR route mapping.
-
2.5.115 Sep 2021Release notes
Open source →- Creating a correct index for ORM, without duplicating indexes for the "name" column
Release notes
Open source →- Creating a correct index for ORM, without duplicating indexes for the "name" column
-
2.5.009 Mar 2021Release notes
Open source →- Make dependency on twig optional, as it is not necessary for the bundle.
Release notes
Open source →- Make dependency on twig optional, as it is not necessary for the bundle.
-
2.4.203 Dec 2020 -
2.4.123 Oct 2020Release notes
Open source →- Fix for indirect dependency doctrine/persistence dropping the BC layer in its new major version.
-
2.4.028 Apr 2020Release notes
Open source →- Minimum PHP version is now 7.2
- Support Symfony 5. Minimum Symfony version is now 4.4.
- If you generate routes with the CMF route generator, see the CHANGELOG of the routing component as well!
-
2.3.025 Feb 2020Release notes
Open source →- Implemented redirect route feature for the Doctrine ORM model
- Removed the name for the database index configuration on the staticPrefix field on the Route model due to name colision when the model is inherited by RediretRoute model
-
2.2.016 Dec 2019Release notes
Open source →- Autowiring support for ChainRouterInterface
- Fix Symfony deprecations and raise lowest versions to 3.4 || 4.3
- Allow installation with Twig 3
- Fix PHPCR route candidates handling for PHPCR node name edge cases
-
2.1.124 Sep 2018Release notes
Open source →- Make redirect controller service public to avoid errors while handling redirects.
-
2.1.018 Jun 2018Release notes
Open source →- Symfony 4 support
- 2017-11-11: Removed php 5.6 and 7.0 support, removed Symfony 3.0.* and 3.1.* support
-
2.1.0-RC101 May 2018 pre-releaseNothing published for this version
-
2.0.322 Jan 2018 -
2.0.219 Jan 2018 -
2.0.126 Sep 2017Release notes
Open source →- 2017-09-25: This bundle can now also directly use the Twig loader instead of the deprecated templating component. Symfony FrameworkBundle no longer requires symfony/templating since 3.2. If the templating component is available in your application, it is however still used for BC.
-
2.0.024 Feb 2017 -
2.0.0-RC321 Feb 2017 pre-releaseRelease notes
Open source →- 2017-02-17: [BC BREAK] DynamicRouter::setRequest has been replaced with DynamicRouter::setRequestStack.
-
2.0.0-RC210 Feb 2017 pre-releaseRelease notes
Open source →- 2017-02-06: [BC BREAK] The
_templaterequest parameter will be renamed to thetemplateattribute instead of thecontentTemplateattribute. The old attribute will still be available for backwards compatibility. - 2017-02-03: [BC BREAK] Removed unused
cmf_routing.dynamic.persistence.phpcr.content_basepath
- 2017-02-06: [BC BREAK] The
-
2.0.0-RC120 Jan 2017 pre-releaseRelease notes
Open source →- 2016-12-02: [BC BREAK] Moved all sonata related code to sonata-phpcr-admin-integration-bundle
- 2016-10-10: [ORM] Add option to use custom Route class in ORM
- 2016-06-18: [BC BREAK] Removed all
*.classparameters. - 2016-06-18: [BC BREAK] Removed the
cmf_routing.dynamic.persistence.phpcr.route_basepathsetting. - 2016-06-18: [BC BREAK] Removed the
getAddFormatPattern()/setAddFormatPattern()andgetPattern()methods from the modelRoute. - 2016-06-18: [BC BREAK] Removed the
getAddTrailingSlash()/setAddTrailingSlash()methods from the PHPCRRouteandRedirectRoute. - 2016-06-18: [BC BREAK] Removed
RouteAdmin::setControllerResolver()andRouteAdmin::$controllerResolver.
-
1.4.031 Mar 2016Nothing published for this version
-
1.4.0-RC219 Mar 2016 pre-releaseNothing published for this version
-
1.4.0-RC121 Jan 2016 pre-releaseRelease notes
Open source →- 2016-01-09: [ORM] Hardcoded some column names to match what we index on to avoid
issues with non-default
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. - 2015-10-28: Deprecated
cmf_routing.dynamic.persistence.phpcr.route_basepathsetting and parameter in favor ofcmf_routing.dynamic.persistence.phpcr.route_basepaths. The old names will be kept for BC reasons and removed in 2.0.
- 2016-01-09: [ORM] Hardcoded some column names to match what we index on to avoid
issues with non-default
-
1.3.523 Jun 2015Nothing published for this version
-
1.3.429 Apr 2015Nothing published for this version
-
1.3.324 Nov 2014Nothing published for this version
-
1.3.220 Nov 2014Nothing published for this version
-
1.3.115 Nov 2014Nothing published for this version
-
1.3.021 Oct 2014Nothing published for this version
-
1.3.0-RC203 Oct 2014 pre-releaseNothing published for this version
-
1.3.0-RC120 Aug 2014 pre-releaseRelease notes
Open source →- 2014-08-07: PHPCR RouteProvider no longer allows colons in the URI as they are interpreted as namespaces, leading to errors.
- 2014-06-06: Updated to PSR-4 autoloading
-
1.2.008 May 2014 -
1.2.0-RC330 Apr 2014 pre-releaseNothing published for this version
-
1.2.0-RC217 Apr 2014 pre-releaseRelease notes
Open source →-
2014-04-23: changed
cmf_routing.dynamic.route_collection_limitdefault to0 -
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
-
-
1.2.0-RC107 Apr 2014 pre-releaseRelease notes
Open source →-
2014-03-29: [Multilang] Added some options to support locale matching without separate routes per locale. See the new configuration options
match_implicit_localeandauto_locale_pattern. -
2014-03-29: [PHPCR] The route provider can now load Routes from more than path in PHPCR. The configuration option
route_basepathis renamed toroute_basepathsand 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.
-
-
1.1.116 Dec 2013Nothing published for this version
-
1.1.014 Oct 2013Release notes
Open source →- 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.
-
1.1.0-beta215 Jul 2013 pre-releaseRelease notes
Open source →- 2013-05-28: [Bundle] Only include Doctrine PHPCR compiler pass if PHPCR-ODM is present.
- 2013-05-25: [Bundle] Drop symfony_ from symfony_cmf prefix.
- 2013-05-24: [Document] ContentRepository now requires ManagerRegistry in
the constructor and provides
setManagerName()in the same way as RouteProvider. - 2013-05-24: [Document] RouteProvider now requires ManagerRegistry in the
constructor (the
cmf_routing.default_route_providerdoes this for you). To use a different document manager from the registry, callsetManagerName()on the RouteProvider.
-
1.1.0-beta104 Jun 2013 pre-releaseNothing published for this version
-
1.1.0-alpha231 May 2013 pre-releaseNothing published for this version
-
1.1.0-alpha115 May 2013 pre-releaseNothing published for this version
-
1.1.0-RC909 Oct 2013 pre-releaseNothing published for this version
-
1.1.0-RC808 Oct 2013 pre-releaseRelease notes
Open source →- 2013-10-08: The idPrefix is now used as a filter in getRouteByName() and getRoutesByNames() in the PHPCR RouteProvider. This means its no longer possible to get routes that are not children of a path that begins with idPrefix.
-
1.1.0-RC704 Oct 2013 pre-releaseNothing published for this version
-
1.1.0-RC602 Oct 2013 pre-releaseNothing published for this version
-
1.1.0-RC508 Sep 2013 pre-releaseRelease notes
Open source →- 2013-09-04: If the route matched a pattern with a format extension, the format extension is no longer set as route a default.
- 2013-09-04: Marked ContentAwareGenerator as obsolete, use ContentAwareGenerator from the CMF routing component directly instead. This class will be removed in 1.2.
- 2013-08-09: dynamic.generic_controller is now defaulting to null instead of the controller from CmfContentBundle. CmfCoreBundle is prepending the CmfContentBundle generic controller if that bundle is present. If you do not have Core and Content, you need to configure the value explicitly if you want routes specifying a template to use the generic controller or have template_by_class mapping configuration.
-
1.1.0-RC421 Aug 2013 pre-releaseNothing published for this version
-
1.1.0-RC321 Aug 2013 pre-releaseNothing published for this version
-
1.1.0-RC204 Aug 2013 pre-releaseRelease notes
Open source →- 2013-08-04: [PHPCR-ODM] Fixed the configuration of the LocaleListener to make routes again automatically provide the _locale based on their repository path if the bundle is configured with locales.
- 2013-08-04: [Bundle] Only build the compiler passes for ORM and PHPCR-ODM if all required repositories are present.
-
1.1.0-RC1011 Oct 2013 pre-releaseNothing published for this version
-
1.1.0-RC101 Aug 2013 pre-releaseRelease notes
Open source →- 2013-07-31: [EventDispatcher] Added events to the dynamic router at the start of match and matchRequest.
- 2013-07-29: [DependencyInjection] restructured
phpcr_providerconfig intopersistence->phpcrto match other Bundles. - 2013-07-28: [DependencyInjection] added
enabledflag tophpcr_providerconfig. - 2013-07-26: [Model] Removed setRouteContent and getRouteContent, use setContent and getContent instead.
- 2013-07-19: [Model] Separated database agnostic, doctrine generic and PHPCR-ODM specific code to prepare for Doctrine ORM support.
- 2013-07-17: [FormType] Moved TermsFormType to CoreBundle and renamed it to CheckboxUrlLableFormType.