PHPackages                             ezsystems/templated-uri-router - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ezsystems/templated-uri-router

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ezsystems/templated-uri-router
==============================

Symfony2 RFC-6570 compatible router and URL Generator

3.3.0(6y ago)18.3k1MITPHPPHP &gt;=5.3.0

Since Dec 5Pushed 6y agoCompare

[ Source](https://github.com/ezsystems/TemplatedUriRouter)[ Packagist](https://packagist.org/packages/ezsystems/templated-uri-router)[ Docs](http://www.hautelooktech.com/)[ RSS](/packages/ezsystems-templated-uri-router/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (13)Used By (1)

Hautelook Templated URI Router
==============================

[](#hautelook-templated-uri-router)

Symfony2 UrlGenerator that provides a [RFC-6570](https://tools.ietf.org/html/rfc6570) compatible router and URL Generator. Currently it is extremely naive, and incomplete. However, it does what we need it to do. Contributions are welcome.

[![Build Status](https://camo.githubusercontent.com/61d81d22b019569ed7c41f2888f2c8f733bcd282831de6624290181a5cac102b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f68617574656c6f6f6b2f54656d706c61746564557269526f757465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/hautelook/TemplatedUriRouter)

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

[](#installation)

Run the following command (assuming you have composer.phar or composer binary installed), or require `hautelook/templated-uri-router` to your `composer.json` and run `composer install`:

```
$ composer require hautelook/templated-uri-router
```

Usage
-----

[](#usage)

```
# routing.yml
hautelook_demo_route:
    pattern: /demo
```

```
use Hautelook\TemplatedUriRouter\Routing\Generator\Rfc6570Generator as TemplateGenerator;

$templateGenerator = new TemplateGenerator($routes, $context);
$templatedUri      = $templateGenerator->generate('hautelook_demo_route', array(
    'page'   => '{page}',
    'sort'   => array('{sort}'),
    'filter' => array('{filter}'),
));
```

This will produce a link similar to:

```
/demo{?page,sort*,filter*}

```

Bundle
------

[](#bundle)

The symfony2 bundle lives at .

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~208 days

Recently: every ~120 days

Total

12

Last Release

2246d ago

Major Versions

1.0.x-dev → 2.0.02014-07-28

2.0.x-dev → 3.0.02018-11-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/681611?v=4)[Ibexa Bot](/maintainers/ezrobot)[@ezrobot](https://github.com/ezrobot)

![](https://avatars.githubusercontent.com/u/130489?v=4)[Łukasz Serwatka](/maintainers/lserwatka)[@lserwatka](https://github.com/lserwatka)

---

Top Contributors

[![baldurrensch](https://avatars.githubusercontent.com/u/871417?v=4)](https://github.com/baldurrensch "baldurrensch (14 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (12 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (9 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (6 commits)")[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (5 commits)")[![muub](https://avatars.githubusercontent.com/u/262801?v=4)](https://github.com/muub "muub (3 commits)")[![webhdx](https://avatars.githubusercontent.com/u/10212760?v=4)](https://github.com/webhdx "webhdx (3 commits)")[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (3 commits)")[![MaSpeng](https://avatars.githubusercontent.com/u/18685557?v=4)](https://github.com/MaSpeng "MaSpeng (2 commits)")[![mwadon](https://avatars.githubusercontent.com/u/3395702?v=4)](https://github.com/mwadon "mwadon (1 commits)")

---

Tags

urlurijsonxmlrouterSymfony2RFC 6570HATEOAS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ezsystems-templated-uri-router/health.svg)

```
[![Health](https://phpackages.com/badges/ezsystems-templated-uri-router/health.svg)](https://phpackages.com/packages/ezsystems-templated-uri-router)
```

PHPackages © 2026

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