2017 © Pedro Peláez
 

symfony-bundle doctrine-routing-bundle

Dynamic database routing for Symfony2.

image

eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  • Friday, April 10, 2015
  • by eschmar
  • Repository
  • 1 Watchers
  • 1 Stars
  • 69 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

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., (*1)

Installation

Composer (Packagist):, (*2)

"require": {
    "eschmar/doctrine-routing-bundle": "dev-master"
},

app/Appkernel.php:, (*3)

new Eschmar\DoctrineRoutingBundle\EschmarDoctrineRoutingBundle(),

app/config/routing.yml:, (*4)

eschmar_doctrine_routing:
    resource: "@EschmarDoctrineRoutingBundle/Resources/config/routing.yml"
    prefix:   /

Finally you have to update your doctrine schema for creating the database table., (*5)

Usage

Store your routes inside the provided Routeand RouteConfig entities. After updating your routes you have to invoke, (*6)

php app/console cache:clear:routing prod

or inside a controller, (*7)

$helper = $this->get('eschmar_doctrine_routing.helper');
$helper->clear('prod');

for clearing the cache., (*8)

License

MIT License, (*9)

The Versions

10/04 2015

dev-master

9999999-dev https://github.com/eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  Sources   Download

MIT

The Requires

 

doctrine symfony routing

10/04 2015

1.1.1

1.1.1.0 https://github.com/eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  Sources   Download

MIT

The Requires

 

doctrine symfony routing

01/10 2014

1.1

1.1.0.0 https://github.com/eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  Sources   Download

MIT

The Requires

 

doctrine symfony routing

04/01 2014

1.01

1.01.0.0 https://github.com/eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  Sources   Download

MIT

The Requires

 

doctrine symfony routing

04/01 2014

1.0

1.0.0.0 https://github.com/eschmar/doctrine-routing-bundle

Dynamic database routing for Symfony2.

  Sources   Download

MIT

The Requires

 

doctrine symfony routing