PackageTrack
Sign in Get early access

symfony-cmf/routing

Extends the Symfony routing component for dynamic routes and chaining several routers

3.0.5 53M downloads/mo #1079 most downloaded on Packagist symfony-cmf/Routing

What this package is like to depend on

Last release 8 months ago

03 Dec 2025

Release timing varies

gaps range from 2 weeks to 1.6 years

Most releases are documented

notes for 20 of 26 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

51 releases · first in 2012

1 release in the last 12 months

see the full history below

Release timeline

51 releases · Jun 2012 to Dec 2025
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 51
  1. 3.0.5 03 Dec 2025
    Release notes
    • Allow installation with Symfony 8.
    Open source →
    Release notes
    • Allow installation with Symfony 8.
    Open source →
  2. 3.0.4 02 Dec 2024
    Release notes
    • Fix deprecations on PHP 8.4.
    Open source →
    Release notes
    • Fix deprecations on PHP 8.4.
    Open source →
  3. 3.0.3 19 Feb 2024
    Release notes
    • Fix regression: Any kind of iterable can be used with the ContentAwareGenerator
    Open source →
    Release notes
    • Fix regression: Any kind of iterable can be used with the ContentAwareGenerator
    Open source →
  4. 3.0.2 17 Feb 2024
    Release notes
    • Allow installation with Symfony 7.
    Open source →
    Release notes
    • Allow installation with Symfony 7.
    Open source →
  5. 3.0.1 04 Jul 2022
    Release notes
    • Bugfix: Fix handling non-array return from route provider (#279)
    Open source →
    Release notes
    • Bugfix: Fix handling non-array return from route provider (#279)
    Open source →
  6. 3.0.0 07 Feb 2022
    Release notes
    • [BC Break] Removed deprecated VersatileRouterInterface::supports, as only string route names are
      allowed since Symfony 6.
    • [BC Break] As with Symfony itself, the route name now must be a string. As noted in
      the changes for CMF Routing 2.3, to generate a route from an object is to use
      RouteObjectInterface::OBJECT_BASED_ROUTE_NAME (cmf_routing_object) as
      route name and pass the route object in the parameters with key
      RouteObjectInterface::ROUTE_OBJECT (_route_object).
    • [BC Break] Added static type declarations to interfaces and classes.
    • Revoked the deprecation on Router::match because Symfony keeps offering the match without request
      object.
    • Support Symfony 6, dropped support for older Symfony versions.
    Open source →
    Release notes
    • [BC Break] Removed deprecated VersatileRouterInterface::supports, as only string route names are allowed since Symfony 6.
    • [BC Break] As with Symfony itself, the route name now must be a string. As noted in the changes for CMF Routing 2.3, to generate a route from an object is to use RouteObjectInterface::OBJECT_BASED_ROUTE_NAME (cmf_routing_object) as route name and pass the route object in the parameters with key RouteObjectInterface::ROUTE_OBJECT (_route_object).
    • [BC Break] Added static type declarations to interfaces and classes.
    • Revoked the deprecation on Router::match because Symfony keeps offering the match without request object.
    • Support Symfony 6, dropped support for older Symfony versions.
    Open source →
  7. 2.3.4 08 Nov 2021
    Release notes
    • Allow installation with psr/log 2 and 3
    Open source →
    Release notes
    • Allow installation with psr/log 2 and 3
    Open source →
  8. 2.3.3 06 Oct 2020
    Release notes

    Allow installation with PHP 8.
    (Note that many dependencies do not yet support PHP 8, this release is mainly useful to test PHP 8 support.)

    Open source →
    Release notes
    • Allow installation with PHP 8. (Note that many dependencies do not yet support PHP 8, this release is mainly useful to test PHP 8 support.)
    Open source →
  9. 2.3.2 27 May 2020
    Release notes
    • ProviderBasedGenerator no longer passes the route object in the parameters to the Symfony generator, to avoid bogus query strings e.g. from doctrine proxy objects.
    Open source →
    Release notes
    • ProviderBasedGenerator no longer passes the route object in the parameters to the Symfony generator, to avoid bogus query strings e.g. from doctrine proxy objects.
    Open source →
  10. 2.3.1 04 May 2020
    Release notes
    • ProviderBasedGenerator now also supports the RouteObjectInterface::OBJECT_BASED_ROUTE_NAME
      and RouteObjectInterface::ROUTE_OBJECT.
    Open source →
    Release notes
    • ProviderBasedGenerator now also supports the RouteObjectInterface::OBJECT_BASED_ROUTE_NAME and RouteObjectInterface::ROUTE_OBJECT.
    Open source →
  11. 2.3.0 21 Apr 2020
    Release notes
    • Dropped support for PHP 7.1 and Symfony 3.4 and 4.3.
    • Added support for Symfony 5.
    • Deprecated passing a route object (or anything else that is not a string) as the $name parameter in the generate method of the ChainRouter and the DynamicRouter. Symfony 5 enforces the $name parameter to be a string with static type declaration. The future proof way to generate a route from an object is to use the route name RouteObjectInterface::OBJECT_BASED_ROUTE_NAME (cmf_routing_object) and pass the route object in the parameters with key RouteObjectInterface::ROUTE_OBJECT (_route_object).
    • The VersatileGeneratorInterface::supports method is deprecated as it was used to avoid errors with routers not supporting objects in $name.
    Open source →
  12. 2.2.0 10 Dec 2019
    Release notes
    • Avoid Symfony 4.3 event dispatcher deprecation warnings.
    Open source →
  13. 2.1.1 10 Dec 2019
    Release notes
    • Fix warning about get_class on null in PHP > 7.2
    Open source →
  14. 2.1.0 14 Jun 2018
    Release notes
    • ChainRouter now returns a new RequestContext if none has been set, to be closer in behaviour to the Symfony router.
    • Dropped hhvm support
    Open source →
  15. 2.1.0-RC1 01 May 2018 pre-release

    Nothing published for this version

  16. 2.0.3 07 Dec 2017
    Release notes

    Fixed edge case in error reporting in ChainRouter.

    Open source →
  17. 2.0.2 27 Sep 2017

    Nothing published for this version

  18. 2.0.1 09 May 2017

    Nothing published for this version

  19. 2.0.0 24 Feb 2017
    Release notes

    Release 2.0.0

    Open source →
  20. 2.0.0-RC3 10 Feb 2017 pre-release
    Release notes
    • 2017-01-31: Split out enhancer code from DynamicRouter into RouteEnhancerTrait for reusability.
    Open source →
  21. 2.0.0-RC2 01 Feb 2017 pre-release
    Release notes

    Released.

    Open source →
  22. 2.0.0-RC1 05 Jan 2017 pre-release
    Release notes
    • 2016-11-30: Changed file structure to have all php code in src/
    Open source →
  23. 1.4.1 09 May 2017

    Nothing published for this version

  24. 1.4.0 31 Mar 2016
    Release notes
    • 2016-02-27: Added ContentRepositoryEnhancer that can look up a content by ID from a content repository.
    Open source →
  25. 1.4.0-RC3 27 Feb 2016 pre-release

    Nothing published for this version

  26. 1.4.0-RC2 21 Jan 2016 pre-release

    Nothing published for this version

  27. 1.4.0-RC1 09 Jan 2016 pre-release
    Release notes
    • 2016-01-09: When ChainRouter::match is used with a RequestMatcher, the Request is now properly rebuilt from the RequestContext if that was set on the ChainRouter, and http://localhost is used otherwise to avoid issues with paths starting with a double forward slash.
    • 2014-09-29: ChainRouter does not require a RouterInterface, as a RequestMatcher and UrlGenerator is fine too. Fixed chain router interface to not force a RouterInterface.
    • 2014-09-29: Deprecated DynamicRouter::match in favor of matchRequest.
    Open source →
  28. 1.3.0 20 Oct 2014
    Release notes

    Release 1.3.0

    Open source →
  29. 1.3.0-RC4 03 Oct 2014 pre-release

    Nothing published for this version

  30. 1.3.0-RC3 04 Sep 2014 pre-release

    Nothing published for this version

  31. 1.3.0-RC2 26 Aug 2014 pre-release

    Nothing published for this version

  32. 1.3.0-RC1 21 Aug 2014 pre-release
    Release notes
    • 2014-08-20: Added an interface for the ChainRouter
    • 2014-06-06: Updated to PSR-4 autoloading
    Open source →
  33. 1.2.0 08 May 2014
    Release notes

    Release 1.2.0

    Open source →
  34. 1.2.0-RC1 07 Apr 2014 pre-release
    Release notes
    • 2013-12-23: add support for ChainRouter::getRouteCollection()
    • 2013-01-07: Removed the deprecated $parameters argument in RouteProviderInterface::getRouteByName and getRoutesByNames.
    Open source →
  35. 1.1.0 14 Oct 2013
    Release notes

    Release 1.1.0

    Open source →
  36. 1.1.0-beta2 15 Jul 2013 pre-release

    Nothing published for this version

  37. 1.1.0-beta1 03 Jun 2013 pre-release

    Nothing published for this version

  38. 1.1.0-alpha2 28 May 2013 pre-release

    Nothing published for this version

  39. 1.1.0-alpha1 07 May 2013 pre-release
    Release notes
    • 2013-04-30: Dropped Symfony 2.1 support and got rid of ConfigurableUrlMatcher class
    • 2013-04-05: [ContentAwareGenerator] Fix locale handling to always respect locale but never have unnecessary ?locale=
    Open source →
  40. 1.1.0-RC4 30 Sep 2013 pre-release

    Nothing published for this version

  41. 1.1.0-RC3 03 Sep 2013 pre-release

    Nothing published for this version

  42. 1.1.0-RC2 05 Aug 2013 pre-release

    Nothing published for this version

  43. 1.1.0-RC1 31 Jul 2013 pre-release
    Release notes
    • 2013-07-31: DynamicRouter now accepts an EventDispatcher to trigger a RouteMatchEvent right before the matching starts
    • 2013-07-29: Renamed RouteAwareInterface to RouteReferrersReadInterface for naming consistency and added RouteReferrersInterface for write access.
    • 2013-07-13: NestedMatcher now expects a FinalMatcherInterface as second argument of the constructor
    Open source →
  44. 1.0.2 04 Jul 2013

    Nothing published for this version

  45. 1.0.1 30 Apr 2013

    Nothing published for this version

  46. 1.0.0 25 Mar 2013

    Nothing published for this version

  47. 1.0.0-beta1 18 Mar 2013 pre-release

    Nothing published for this version

  48. 1.0.0-alpha4 21 Jan 2013 pre-release

    Nothing published for this version

  49. 1.0.0-alpha3 16 Dec 2012 pre-release

    Nothing published for this version

  50. 1.0.0-alpha2 03 Dec 2012 pre-release

    Nothing published for this version

  51. 1.0.0-alpha1 04 Jun 2012 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive