PHPackages                             willy68/mezzio-router-dev - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. willy68/mezzio-router-dev

AbandonedLibrary[HTTP &amp; Networking](/categories/http)

willy68/mezzio-router-dev
=========================

Router subcomponent for Mezzio

3.5.8.1(5y ago)0721BSD-3-ClausePHPPHP ^7.3 || ~8.0.0

Since Dec 31Pushed 1y agoCompare

[ Source](https://github.com/willy68/mezzio-router-dev)[ Packagist](https://packagist.org/packages/willy68/mezzio-router-dev)[ Docs](https://mezzio.dev)[ RSS](/packages/willy68-mezzio-router-dev/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (12)Versions (49)Used By (1)

mezzio-router
=============

[](#mezzio-router)

[![Build Status](https://camo.githubusercontent.com/5d59f3edb92f3525617bf301dbd8af36032385a965c76b1d9c028287d457316e/68747470733a2f2f7472617669732d63692e636f6d2f6d657a7a696f2f6d657a7a696f2d726f757465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/mezzio/mezzio-router)[![Coverage Status](https://camo.githubusercontent.com/6d47783638b0742239050b38ef3439d6062358afc021a188b4d73859a0c7ebc6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d657a7a696f2f6d657a7a696f2d726f757465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mezzio/mezzio-router?branch=master)

Router subcomponent for [Mezzio](https://github.com/mezzio/mezzio).

This package provides the following classes and interfaces:

- `RouterInterface`, a generic interface to implement for providing routing capabilities around [PSR-7](http://www.php-fig.org/psr/psr-7/)`ServerRequest` messages.
- `Route`, a value object describing routed middleware.
- `RouteResult`, a value object describing the results of routing.

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

[](#installation)

Typically, you will install this when installing Mezzio. However, it can be used standalone to provide a generic way to provide routed PSR-7 middleware. To do this, use:

```
$ composer require mezzio/mezzio-router
```

We currently support and provide the following routing integrations:

- [Aura.Router](https://github.com/auraphp/Aura.Router): `composer require mezzio/mezzio-aurarouter`
- [FastRoute](https://github.com/nikic/FastRoute): `composer require mezzio/mezzio-fastroute`
- [laminas-router](https://github.com/laminas/laminas-router): `composer require mezzio/mezzio-laminasrouter`

Documentation
-------------

[](#documentation)

Mezzio provides [routing documentation](https://docs.mezzio.dev/mezzio/features/router/intro/).

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 56.7% 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 ~9 days

Recently: every ~0 days

Total

47

Last Release

1919d ago

Major Versions

1.3.2 → 2.0.02019-12-31

2.4.1 → 3.0.02019-12-31

PHP version history (5 changes)1.0.0PHP &gt;=5.5

1.2.0PHP ^5.5 || ^7.0

1.3.0PHP ^5.6 || ^7.0

3.0.0PHP ^7.1

3.2.0PHP ^7.3 || ~8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee0f14e65474268155360744e058f5a000e5d865d1e07211241554d89f792a5?d=identicon)[willy68](/maintainers/willy68)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (296 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (101 commits)")[![michaelmoussa](https://avatars.githubusercontent.com/u/183833?v=4)](https://github.com/michaelmoussa "michaelmoussa (45 commits)")[![willy68](https://avatars.githubusercontent.com/u/34144331?v=4)](https://github.com/willy68 "willy68 (29 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (17 commits)")[![Koopzington](https://avatars.githubusercontent.com/u/3015529?v=4)](https://github.com/Koopzington "Koopzington (9 commits)")[![boesing](https://avatars.githubusercontent.com/u/2189546?v=4)](https://github.com/boesing "boesing (5 commits)")[![laminas-bot](https://avatars.githubusercontent.com/u/68250880?v=4)](https://github.com/laminas-bot "laminas-bot (5 commits)")[![marcelthole](https://avatars.githubusercontent.com/u/850125?v=4)](https://github.com/marcelthole "marcelthole (4 commits)")[![pursehouse](https://avatars.githubusercontent.com/u/3063832?v=4)](https://github.com/pursehouse "pursehouse (3 commits)")[![gsteel](https://avatars.githubusercontent.com/u/2803720?v=4)](https://github.com/gsteel "gsteel (2 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (1 commits)")[![nightlinus](https://avatars.githubusercontent.com/u/2681887?v=4)](https://github.com/nightlinus "nightlinus (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (1 commits)")[![Moln](https://avatars.githubusercontent.com/u/2050694?v=4)](https://github.com/Moln "Moln (1 commits)")[![renanbr](https://avatars.githubusercontent.com/u/350222?v=4)](https://github.com/renanbr "renanbr (1 commits)")

---

Tags

httppsrpsr-7middlewarelaminasmezzio

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/willy68-mezzio-router-dev/health.svg)

```
[![Health](https://phpackages.com/badges/willy68-mezzio-router-dev/health.svg)](https://phpackages.com/packages/willy68-mezzio-router-dev)
```

###  Alternatives

[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.0M60](/packages/mezzio-mezzio-router)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[mezzio/mezzio-helpers

Helper/Utility classes for Mezzio

134.3M67](/packages/mezzio-mezzio-helpers)[mezzio/mezzio-fastroute

FastRoute integration for Mezzio

162.7M52](/packages/mezzio-mezzio-fastroute)

PHPackages © 2026

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