PHPackages                             lumbendil/shared-routers-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. lumbendil/shared-routers-bundle

ActiveLibrary

lumbendil/shared-routers-bundle
===============================

A Symfony2 Bundle to be able to define multiple routers in order to generate paths.

06PHP

Since Dec 18Pushed 12y ago2 watchersCompare

[ Source](https://github.com/Lumbendil/LumbendilSharedRoutersBundle)[ Packagist](https://packagist.org/packages/lumbendil/shared-routers-bundle)[ RSS](/packages/lumbendil-shared-routers-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Shared Routers Bundle
=====================

[](#shared-routers-bundle)

This bundle is meant to ease up the creation of multiple routers. The most common use case is when you need to generate routes for ApplicationA from ApplicationB, which doesn't have the required routes in it's framework router.

### Installation

[](#installation)

Add `"lumbendil/shared-routers-bundle": "dev-master@dev"` to your composer.json (at the moment there is no released stable version).

Add the bundle to `app/AppKernel.php` (it needs to receive the `Kernel` as a constructor argument):

```
public function registerBundles()
{
    return array(
        new Lumbendil\SharedRoutersBundle\LumbendilSharedRoutersBundle($this),
    );
}

```

### Basic Configuration

[](#basic-configuration)

In order to use this bundle, you need to add the following config to your `app/config/config.yml`:

```
lumbendil_shared_routers:
    routers:
        my_name:
            resource: @MyBundle/Resources/config/routing/file.yml

```

The name, which in this example is set to `my_name` is configurable, and so is the `resource` value. This will load the routing file specified in `resource` and define a router service, `my_name_router`.

### Contributing

[](#contributing)

Feel free to create Pull Requests and Issues with any issue you are able to find.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![Lumbendil](https://avatars.githubusercontent.com/u/184785?v=4)](https://github.com/Lumbendil "Lumbendil (3 commits)")

### Embed Badge

![Health badge](/badges/lumbendil-shared-routers-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lumbendil-shared-routers-bundle/health.svg)](https://phpackages.com/packages/lumbendil-shared-routers-bundle)
```

PHPackages © 2026

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