PHPackages                             dandoescode/uri-template - 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. dandoescode/uri-template

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

dandoescode/uri-template
========================

A URI Template \[RFC6570\] parser.

872PHP

Since Jan 14Pushed 13y agoCompare

[ Source](https://github.com/dhrrgn/uri-template)[ Packagist](https://packagist.org/packages/dandoescode/uri-template)[ RSS](/packages/dandoescode-uri-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

URI Template
============

[](#uri-template)

[![Build Status](https://camo.githubusercontent.com/06a0051665fb91e86b97697b730a2d86a98a6c901948242854fc6c8274d0cebe/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f64616e646f6573636f64652f7572692d74656d706c6174652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/dandoescode/uri-template)

A URI Template \[[RFC6570](http://tools.ietf.org/html/rfc6570)\] parser for PHP.

**Note: While the package currently works, I have not tagged a version, as I want to improve the tests and add more documentation.**

Composer
--------

[](#composer)

```
"dandoescode/uri-template": "dev-master"

```

Usage
-----

[](#usage)

All [Levels and Expression Types](http://tools.ietf.org/html/rfc6570#section-1.2) are supported.

Please see the tests and [RFC6570](http://tools.ietf.org/html/rfc6570) for right now until I can write some better docs.

LICENCE
-------

[](#licence)

The MIT License

```
Copyright (c) 2013 Daniel Horrigan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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/c7fd9f14494046377b8b31a5655ec404331da2b6e7d2c16adbb425c8dee64ab7?d=identicon)[dhrrgn](/maintainers/dhrrgn)

---

Top Contributors

[![dhrrgn](https://avatars.githubusercontent.com/u/149921?v=4)](https://github.com/dhrrgn "dhrrgn (14 commits)")

### Embed Badge

![Health badge](/badges/dandoescode-uri-template/health.svg)

```
[![Health](https://phpackages.com/badges/dandoescode-uri-template/health.svg)](https://phpackages.com/packages/dandoescode-uri-template)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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