PHPackages                             eschmar/doctrine-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. eschmar/doctrine-routing-bundle

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

eschmar/doctrine-routing-bundle
===============================

Dynamic database routing for Symfony2.

1.1.1(11y ago)1772MITPHPPHP &gt;=5.3.3

Since Jan 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/eschmar/doctrine-routing-bundle)[ Packagist](https://packagist.org/packages/eschmar/doctrine-routing-bundle)[ Docs](https://github.com/eschmar/doctrine-routing-bundle)[ RSS](/packages/eschmar-doctrine-routing-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (4)Used By (0)

DoctrineRoutingBundle
=====================

[](#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
------------

[](#installation)

Composer ([Packagist](https://packagist.org/packages/eschmar/doctrine-routing-bundle)):

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

app/Appkernel.php:

```
new Eschmar\DoctrineRoutingBundle\EschmarDoctrineRoutingBundle(),
```

app/config/routing.yml:

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

Finally you have to update your doctrine schema for creating the database table.

Usage
-----

[](#usage)

Store your routes inside the provided `Route`and `RouteConfig` entities. After updating your routes you have to invoke

```
php app/console cache:clear:routing prod
```

or inside a controller

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

for clearing the cache.

License
-------

[](#license)

MIT License

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~230 days

Total

3

Last Release

4050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/af4b985a4f3db3fb0b416d19be8d211087f9ccc9bc19ba55295632e77b8bc79c?d=identicon)[eschmar](/maintainers/eschmar)

---

Top Contributors

[![eschmar](https://avatars.githubusercontent.com/u/2345471?v=4)](https://github.com/eschmar "eschmar (15 commits)")[![colinodell](https://avatars.githubusercontent.com/u/202034?v=4)](https://github.com/colinodell "colinodell (1 commits)")

---

Tags

symfonydoctrinerouting

### Embed Badge

![Health badge](/badges/eschmar-doctrine-routing-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/eschmar-doctrine-routing-bundle/health.svg)](https://phpackages.com/packages/eschmar-doctrine-routing-bundle)
```

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
