PHPackages                             phpmentors/route-templating-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. phpmentors/route-templating-bundle

ActiveSymfony-bundle

phpmentors/route-templating-bundle
==================================

A Symfony bundle for route templating

v1.1.0(7y ago)01.9k↓100%2[1 PRs](https://github.com/phpmentors-jp/route-templating-bundle/pulls)BSD-2-ClausePHPPHP &gt;=5.5.9

Since Oct 31Pushed 3y ago3 watchersCompare

[ Source](https://github.com/phpmentors-jp/route-templating-bundle)[ Packagist](https://packagist.org/packages/phpmentors/route-templating-bundle)[ RSS](/packages/phpmentors-route-templating-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (5)Used By (0)

RouteTemplatingBundle
=====================

[](#routetemplatingbundle)

A Symfony bundle for route templating

[![Total Downloads](https://camo.githubusercontent.com/4859a199c8648bc1265953d7fc1f276208e8ac1482a6f7981987c946416c924c/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d74656d706c6174696e672d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/phpmentors/route-templating-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/3b986a67df0f33823245c45b3b0714b0a7a12f038416dc25aebf867dc94d64a3/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d74656d706c6174696e672d62756e646c652f762f737461626c65)](https://packagist.org/packages/phpmentors/route-templating-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/01a6df130ec996b71b4470e83f82c626cc776ab7374578b1f34e3c18e651e1e6/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d74656d706c6174696e672d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/phpmentors/route-templating-bundle)[![Build Status](https://camo.githubusercontent.com/a26912ad58eb49d1aaffd84ffd1a1b97b3bd82ff1cd744a1542c53656b7d7cd5/68747470733a2f2f7472617669732d63692e636f6d2f7068706d656e746f72732d6a702f726f7574652d74656d706c6174696e672d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/phpmentors-jp/route-templating-bundle)

Features
--------

[](#features)

- Route templating
    - Copy all routes defined in the imported resource with the specified prefix

Installation
------------

[](#installation)

RouteTemplatingBundle can be installed using [Composer](http://getcomposer.org/).

First, add the dependency to `phpmentors/route-templating-bundle` into your `composer.json` file as the following:

**Stable version:**

```
composer require phpmentors/route-templating-bundle "1.1.*"

```

**Development version:**

```
composer require phpmentors/route-templating-bundle "~1.2@dev"

```

Second, add `PHPMentorsRouteTemplatingBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:

```
...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new PHPMentors\RouteTemplatingBundle\PHPMentorsRouteTemplatingBundle(),
        );
        ...
```

Configuration
-------------

[](#configuration)

`app/config/routing.yml:`

```
# ...

photos:
    resource: "@PhotoBundle/Resources/config/routing.yml"
    prefix:   /photos

admin_photos:
    resource: "@PhotoBundle/Resources/config/routing.yml" # Same resource as `photos`
    prefix:   /admin/photos
    copy_as: admin_
```

Support
-------

[](#support)

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/route-templating-bundle/issues).

Copyright
---------

[](#copyright)

Copyright (c) 2016-2018 KUBO Atsuhiro, All rights reserved.

License
-------

[](#license)

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~234 days

Total

4

Last Release

2776d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52985?v=4)[Atsuhiro Kubo](/maintainers/iteman)[@iteman](https://github.com/iteman)

---

Top Contributors

[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (24 commits)")

---

Tags

phproutingsymfonysymfony-bundlesymfonyrouting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpmentors-route-templating-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/phpmentors-route-templating-bundle/health.svg)](https://phpackages.com/packages/phpmentors-route-templating-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M61](/packages/scheb-2fa-bundle)[tilleuls/url-signer-bundle

Create and validate signed URLs with a limited lifetime in Symfony

81340.1k](/packages/tilleuls-url-signer-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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