Download the PHP package eschmar/doctrine-routing-bundle without Composer
On this page you can find all versions of the php package eschmar/doctrine-routing-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eschmar/doctrine-routing-bundle
More information about eschmar/doctrine-routing-bundle
Files in eschmar/doctrine-routing-bundle
Package doctrine-routing-bundle
Short Description Dynamic database routing for Symfony2.
License MIT
Homepage https://github.com/eschmar/doctrine-routing-bundle
Informations about the package doctrine-routing-bundle
DoctrineRoutingBundle
With this bundle you can persist a subset of your routes inside a database using the provided entity Route
. These routes will be cached and only updated if you clear your routing cache. This way you can manage your routes from an interface without abandoning cacheing. The bundle provides both command line and service triggering of clearing your cache.
Installation
Composer (Packagist):
app/Appkernel.php:
app/config/routing.yml:
Finally you have to update your doctrine schema for creating the database table.
Usage
Store your routes inside the provided Route
and RouteConfig
entities. After updating your routes you have to invoke
or inside a controller
for clearing the cache.
License
MIT License
All versions of doctrine-routing-bundle with dependencies
symfony/symfony Version ~2.4
doctrine/orm Version ~2.2,>=2.2.3
doctrine/doctrine-bundle Version ~1.2