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

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

dotkernel/dot-router
====================

Dotkernel component to build complex routes, based on mezzio/mezzio-fastroute

1.1.0(6mo ago)48.9k↑162.5%2MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Mar 20Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/dotkernel/dot-router)[ Packagist](https://packagist.org/packages/dotkernel/dot-router)[ Docs](https://github.com/dotkernel/dot-router)[ RSS](/packages/dotkernel-dot-router/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (7)Dependencies (9)Versions (8)Used By (2)

dot-router
==========

[](#dot-router)

Dotkernel component to build complex routes, based on [mezzio/mezzio-fastroute](https://github.com/mezzio/mezzio-fastroute).

> dot-router is a wrapper on top of [mezzio/mezzio-fastroute](https://github.com/mezzio/mezzio-fastroute)

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

[](#documentation)

Documentation is available at: .

Badges
------

[](#badges)

[![OSS Lifecycle](https://camo.githubusercontent.com/6fafd61eb000b2275958651998b4110d4a196560357c1f03961169a19b37fdc7/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d726f75746572)](https://camo.githubusercontent.com/6fafd61eb000b2275958651998b4110d4a196560357c1f03961169a19b37fdc7/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d726f75746572)[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/fbc018b60d12c61ed4b7ae9ab48b5826dd367bc5d7ba9a7d08d2cf20de69c44e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d726f757465722f312e312e30)](https://camo.githubusercontent.com/fbc018b60d12c61ed4b7ae9ab48b5826dd367bc5d7ba9a7d08d2cf20de69c44e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d726f757465722f312e312e30)

[![GitHub issues](https://camo.githubusercontent.com/9bf51832131f1f6275d6b88a99b8a5a942b044f34a4d139859e22b93d74e1575/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f646f746b65726e656c2f646f742d726f75746572)](https://github.com/dotkernel/dot-router/issues)[![GitHub forks](https://camo.githubusercontent.com/e1dda5441bd50f7633668a8f155de8683d0c14bdc93dd143480e13642bdeeff5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f646f746b65726e656c2f646f742d726f75746572)](https://github.com/dotkernel/dot-router/network)[![GitHub stars](https://camo.githubusercontent.com/ebb45c85a3a68f9ca508578dc52a97c403d26c260918f351223bc99966c3598e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f646f746b65726e656c2f646f742d726f75746572)](https://github.com/dotkernel/dot-router/stargazers)[![GitHub license](https://camo.githubusercontent.com/451ea2630ffde4312d71b1ff1c1eb95fc04578f326fdbaf893cdd7ff2e406dea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d726f75746572)](https://github.com/dotkernel/dot-router/blob/1.0/LICENSE)

[![Build Static](https://github.com/dotkernel/dot-router/actions/workflows/continuous-integration.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/dot-router/actions/workflows/continuous-integration.yml)[![codecov](https://camo.githubusercontent.com/c89ddc79e3b6e42c0c00d6794fa8587a1387dd040543a3b3409f9633373eb02c/68747470733a2f2f636f6465636f762e696f2f67682f646f746b65726e656c2f646f742d726f757465722f67726170682f62616467652e7376673f746f6b656e3d75624e6e466374754452)](https://codecov.io/gh/dotkernel/dot-router)[![PHPStan](https://github.com/dotkernel/dot-router/actions/workflows/static-analysis.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/dot-router/actions/workflows/static-analysis.yml)

Requirements
------------

[](#requirements)

- **PHP**: 8.2, 8.3, 8.4 or 8.5
- **laminas/laminas-stratigility**: ^3.0 || ^4.0
- **mezzio/mezzio-fastroute**: ^3.12

Setup
-----

[](#setup)

Run the following command in your application's root directory:

```
composer require dotkernel/dot-router
```

Open your application's `config/config.php` and the following line:

```
Dot\Router\ConfigProvider::class,
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance66

Regular maintenance activity

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

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

Recently: every ~56 days

Total

8

Last Release

200d ago

PHP version history (2 changes)1.0.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

1.0.x-devPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1156873?v=4)[Dotkernel](/maintainers/dotkernel)[@dotkernel](https://github.com/dotkernel)

---

Top Contributors

[![alexmerlin](https://avatars.githubusercontent.com/u/4542449?v=4)](https://github.com/alexmerlin "alexmerlin (20 commits)")

---

Tags

routerpsr-15mezzioFastRoutedotkernel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dotkernel-dot-router/health.svg)

```
[![Health](https://phpackages.com/badges/dotkernel-dot-router/health.svg)](https://phpackages.com/packages/dotkernel-dot-router)
```

###  Alternatives

[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6633.1M115](/packages/league-route)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

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

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

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

Middleware to use FastRoute

96191.1k15](/packages/middlewares-fast-route)[sunrise/http-router

A powerful solution as the foundation of your project.

16249.8k10](/packages/sunrise-http-router)

PHPackages © 2026

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