2017 © Pedro Peláez
 

symfony-bundle routing-extra-bundle

Symfony RoutingExtraBundle

image

symfony-cmf/routing-extra-bundle

Symfony RoutingExtraBundle

  • Sunday, September 8, 2013
  • by dbu
  • Repository
  • 0 Watchers
  • 0 Stars
  • 36,149 Installations
  • 10 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

OBSOLETE

This bundle has been renamed to SymfonyCmfRoutingBundle. Use this old version for Symfony 2.1 projects., (*1)

Symfony CMF Routing Extra Bundle Build Status

This bundle enables the CMF Routing component as Symfony2 bundle. It provides route documents for Doctrine PHPCR-ODM and a controller for redirection routes., (*2)

The chain router is meant to replace the default Symfonys Router. All it does is collect a prioritized list of routers and try to match requests and generate urls with all of them. One of the routers in that chain can of course be the default router so you can still use the standard way for some of your routes., (*3)

Additionally, this bundle delivers useful router implementations. Currently, there is the DynamicRouter that routes based on a implemented provider that provide Symfony2 Route objects. The provider can be implemented using a database, for example with Doctrine PHPCR-ODM or Doctrine ORM. The bundle provides a default implementation for Doctrine PHPCR-ODM., (*4)

The DynamicRouter service is only made available when explicitly enabled in the application configuration., (*5)

See the official documentation, (*6)

Installation

Add a requirement for symfony-cmf/routing-extra-bundle 1.0.0 to your composer.json and instantiate the bundle in your AppKernel.php, (*7)

new Symfony\Cmf\Bundle\RoutingExtraBundle\SymfonyCmfRoutingExtraBundle()

If you just want to use the chain router, this is enough. For the DynamicRouter you need something to build a route provider. This bundle provides classes for Doctrine PHPCR ODM., (*8)

Authors

  • Filippo De Santis (p16)
  • Henrik Bjornskov (henrikbjorn)
  • Claudio Beatrice (omissis)
  • Lukas Kahwe Smith (lsmith77)
  • David Buchmann (dbu)
  • Uwe Jäger (uwej711)
  • And others

The Versions