PHPackages                             aphiria/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. [Framework](/categories/framework)
4. /
5. aphiria/router

ActiveLibrary[Framework](/categories/framework)

aphiria/router
==============

The Aphiria router library

1.x-dev(1mo ago)28819—0%MITPHPPHP ^8.4CI passing

Since Dec 19Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/aphiria/router)[ Packagist](https://packagist.org/packages/aphiria/router)[ Docs](https://www.aphiria.com)[ GitHub Sponsors](https://github.com/sponsors/davidbyoung)[ RSS](/packages/aphiria-router/feed)WikiDiscussions 1.x Synced today

READMEChangelogDependencies (7)Versions (13)Used By (0)

[![](https://camo.githubusercontent.com/b524a39ab8922b927ed94708692e2de878abfe1f9d859dbbb4d82eab6ab59156/68747470733a2f2f7777772e617068697269612e636f6d2f696d616765732f617068697269612d6c6f676f2e737667)](https://www.aphiria.com "Aphiria")

[![](https://github.com/aphiria/router/workflows/ci/badge.svg)](https://github.com/aphiria/router/actions)[![Coverage Status](https://camo.githubusercontent.com/69b3cd21005dd2379fdd48d86e721b2a03387a477d1e453d01fa1864d4eb38ec/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f617068697269612f726f757465722f62616467652e7376673f6272616e63683d312e78)](https://coveralls.io/github/aphiria/router?branch=1.x)[![](https://camo.githubusercontent.com/266ff0db2399c147e4888cda5a898cae5c2a2856b3de59c550f9086d6880d552/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f726f757465722f762f737461626c652e737667)](https://packagist.org/packages/aphiria/router)[![](https://camo.githubusercontent.com/d035826e630bb02d23a9a3e55fb066369c503f21cdafd8071e69be8ebc100c52/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f726f757465722f762f756e737461626c652e737667)](https://packagist.org/packages/aphiria/router)[![](https://camo.githubusercontent.com/23d8d479528598b080a714b32e20b9cee99e6c77c76f809d06db29a09e5c7ff0/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f726f757465722f6c6963656e73652e737667)](https://packagist.org/packages/aphiria/router)

Router
======

[](#router)

> **Note:** This library is not stable yet.

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

[](#installation)

This library can be installed via [Composer](https://getcomposer.org/download/):

```
composer require aphiria/router:^1.0@dev
```

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

[](#documentation)

Full documentation is available [here](https://www.aphiria.com/docs/1.x/routing).

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 99.4% 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 ~155 days

Recently: every ~285 days

Total

13

Last Release

55d ago

Major Versions

0.x-dev → v1.0.0-alpha12020-12-20

PHP version history (4 changes)0.x-devPHP &gt;=8.0

v1.0.0-alpha5PHP &gt;=8.1

v1.0.0-alpha8PHP ^8.2

v1.0.0-alpha10PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb2c80fe0017b82289c6c9bba6b6bcdd6ececb20da98c03202c34236b498c514?d=identicon)[opulence](/maintainers/opulence)

---

Top Contributors

[![davidbyoung](https://avatars.githubusercontent.com/u/6652430?v=4)](https://github.com/davidbyoung "davidbyoung (169 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

phproutingphprouterroutingmatching

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[pecee/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

695210.1k15](/packages/pecee-simple-router)[developermarius/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

112.3k](/packages/developermarius-simple-router)

PHPackages © 2026

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