PHPackages                             raindrop/routing-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. raindrop/routing-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

raindrop/routing-bundle
=======================

Symfony Raindrop RoutingBundle

5.0.2(3y ago)62.1k3[1 PRs](https://github.com/raindropdevs/RaindropRoutingBundle/pulls)1MITPHPPHP &gt;=5.3.9

Since Apr 15Pushed 3y ago5 watchersCompare

[ Source](https://github.com/raindropdevs/RaindropRoutingBundle)[ Packagist](https://packagist.org/packages/raindrop/routing-bundle)[ Docs](https://github.com/raindropdevs)[ RSS](/packages/raindrop-routing-bundle/feed)WikiDiscussions develop Synced yesterday

READMEChangelogDependencies (6)Versions (20)Used By (1)

Raindrop Routing Bundle
=======================

[](#raindrop-routing-bundle)

[![Build Status](https://camo.githubusercontent.com/d20accf74075c186ba5fb95a35e64ac23f740ebbbc36d71d176041815e9ea929/68747470733a2f2f7472617669732d63692e6f72672f7261696e64726f70646576732f5261696e64726f70526f7574696e6742756e646c652e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/raindropdevs/RaindropRoutingBundle)

This bundle is based on routing extra bundle for symfony-cmf (available at ). If you want to use PHPCR ODM, the symfony cmf routing extra bundle features more routing options. This is the ORM simplified version.

It replaces symfony router with a chain router, appends standard router and dynamic router to it (as specified into configuration). This allows you to save routes to database and continue using symfony standard routing.

All routers attached to chain router can be sorted using a priority key specified into configuration.

This bundle also offers the option to link the route to any other entity, this object will be served when controller method gets invoked, as parameter.

### **INSTALLATION**:

[](#installation)

First add the dependency to your `composer.json` file:

```
"require": {
    ...
    "raindrop/routing-bundle": "dev-master"
},

```

Then install the bundle with the command:

```
php composer.phar update

```

Enable the bundle in your application kernel:

```
