Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Routing component building on the Symfony2 Routing component
PHP

Merge pull request #136 from symfony-cmf/remove_deprecations

[2.2] Route#getPattern is renamed to getPath
latest commit 5f62f016d7
@dbu dbu authored
Failed to load latest commit information.
Candidates typo fix
DependencyInjection/Compiler CS cleanups
Enhancer CS cleanups
Event Rename event property from name to route to avoid conflicts
NestedMatcher CS cleanups
Test minor fixes while reading through
Tests Rename event property from name to route to avoid conflicts
.gitignore split ChainRoutingBundle into Routing component (this) and a RoutingE…
.travis.yml Merge pull request #136 from symfony-cmf/remove_deprecations
CHANGELOG.md deprecate DynamicRouter::match and cleanup interface usage as far as …
CONTRIBUTING.md adding contributing file
ChainRouteCollection.php CS cleanups
ChainRouter.php deprecate DynamicRouter::match and cleanup interface usage as far as …
ChainRouterInterface.php deprecate DynamicRouter::match and cleanup interface usage as far as …
ChainedRouterInterface.php deprecate DynamicRouter::match and cleanup interface usage as far as …
ContentAwareGenerator.php CS cleanups
ContentRepositoryInterface.php CS cleanups
DynamicRouter.php Undo rename of route param to keep match with RouterInterface
LICENSE Updated year in LICENSE file, refs symfony-cmf/symfony-cmf#184
LazyRouteCollection.php Implements a paged route collection using a paged route provider
PagedRouteCollection.php Implements a paged route collection using a paged route provider
PagedRouteProviderInterface.php Implements a paged route collection using a paged route provider
ProviderBasedGenerator.php [2.2] Route#getPattern is renamed to getPath
README.md Fix typo in README.md
RedirectRouteInterface.php CS cleanups
RouteObjectInterface.php CS cleanups
RouteProviderInterface.php CS cleanups
RouteReferrersInterface.php CS cleanups
RouteReferrersReadInterface.php CS cleanups
VersatileGeneratorInterface.php CS cleanups
composer.json Bump DependencyInjection requirement
phpunit.xml.dist Use CMF Testing bootstrap to get DeprecatedErrorHandler

README.md

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.

Requirements

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

Documentation

For the install guide and reference, see:

See also:

Contributing

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.