PHPackages                             chimera/routing-mezzio - 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. chimera/routing-mezzio

ActiveLibrary

chimera/routing-mezzio
======================

Laminas Mezzio implementation for chimera/routing

0.4.0(5y ago)293.2k↓38.2%[22 PRs](https://github.com/chimeraphp/routing-mezzio/pulls)1MITPHPPHP ^7.4 || ^8.0

Since Feb 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/chimeraphp/routing-mezzio)[ Packagist](https://packagist.org/packages/chimera/routing-mezzio)[ GitHub Sponsors](https://github.com/lcobucci)[ Patreon](https://www.patreon.com/lcobucci)[ RSS](/packages/chimera-routing-mezzio/feed)WikiDiscussions 1.0.x Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (26)Used By (1)

Chimera - routing/mezzio
========================

[](#chimera---routingmezzio)

[![Total Downloads](https://camo.githubusercontent.com/6c397987b4fdb941868b096ac24167c1b3b6afaa1704761810aa86529b2add64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696d6572612f726f7574696e672d6d657a7a696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chimera/routing-mezzio)[![Latest Stable Version](https://camo.githubusercontent.com/4c1dd699858e457dd7e4d08a4af18ae0828f9e076234c5610bc88d2418baeac3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368696d6572612f726f7574696e672d6d657a7a696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chimera/routing-mezzio)[![Unstable Version](https://camo.githubusercontent.com/e12d661b710f3d425e5312cd39d0dae176e4b21b767833b93a56ad0408226a03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6368696d6572612f726f7574696e672d6d657a7a696f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chimera/routing-mezzio)

[![Build Status](https://camo.githubusercontent.com/010b462a0f4eb0ba18cfc6886fc79a5924a86e2ae6562d0f9d6e4ed6361dccc0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368696d6572617068702f726f7574696e672d6d657a7a696f2f504850556e697425323074657374732f302e352e783f7374796c653d666c61742d737175617265)](https://github.com/chimeraphp/routing-mezzio/actions?query=workflow%3A%22PHPUnit%20Tests%22+branch%3A0.5.x)[![Code Coverage](https://camo.githubusercontent.com/c61d738d6e1f14b926d9c0918eea0789bb217241ee3376eb47357c0759fe4db5/68747470733a2f2f636f6465636f762e696f2f67682f6368696d6572617068702f726f7574696e672d6d657a7a696f2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/chimeraphp/routing-mezzio)

> The term Chimera (*/kɪˈmɪərə/* or */kaɪˈmɪərə/*) has come to describe any mythical or fictional animal with parts taken from various animals, or to describe anything composed of very disparate parts, or perceived as wildly imaginative, implausible, or dazzling.

There are many many amazing libraries in the PHP community and with the creation and adoption of the PSRs we don't necessarily need to rely on full stack frameworks to create a complex and well designed software. Choosing which components to use and plugging them together can sometimes be a little challenging.

The goal of this set of packages is to make it easier to do that (without compromising the quality), allowing you to focus on the behaviour of your software.

This package just provides adapters for Laminas Mezzio v3.0, so that it can be used as HTTP application.

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

[](#installation)

Package is available on [Packagist](http://packagist.org/packages/chimera/routing-mezzio), you can install it using [Composer](http://getcomposer.org).

```
composer require chimera/routing-mezzio
```

### PHP Configuration

[](#php-configuration)

In order to make sure that we're dealing with the correct data, we're using `assert()`, which is a very interesting feature in PHP but not often used. The nice thing about `assert()` is that we can (and should) disable it in production mode so that we don't have useless statements.

So, for production mode, we recommend you to set `zend.assertions` to `-1` in your `php.ini`. For development you should leave `zend.assertions` as `1` and set `assert.exception` to `1`, which will make PHP throw an [`AssertionError`](https://php.net/assertionerror)when things go wrong.

Check the documentation for more information:

Usage
-----

[](#usage)

To use this package you need to configured your Laminas Mezzio application to use our packages (as explained [here](https://github.com/chimeraphp/routing#usage)) and register instances of `Chimera\Routing\Mezzio\UriGenerator` and `Chimera\Routing\Mezzio\RouteParamsExtractor` in your DI container.

License
-------

[](#license)

MIT, see [LICENSE](LICENSE).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 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 ~303 days

Total

3

Last Release

1302d ago

Major Versions

0.4.x-dev → 1.0.x-dev2022-10-24

PHP version history (2 changes)0.4.0PHP ^7.4 || ^8.0

1.0.x-devPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/201963?v=4)[Luís Cobucci](/maintainers/lcobucci)[@lcobucci](https://github.com/lcobucci)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (315 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (300 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (184 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (63 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (1 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chimera-routing-mezzio/health.svg)

```
[![Health](https://phpackages.com/badges/chimera-routing-mezzio/health.svg)](https://phpackages.com/packages/chimera-routing-mezzio)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[mimmi20/browser-detector

Library to detect Browsers and Devices

48153.5k3](/packages/mimmi20-browser-detector)

PHPackages © 2026

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