PHPackages                             diversen/minimal-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. diversen/minimal-router

AbandonedArchivedLibrary[Framework](/categories/framework)

diversen/minimal-router
=======================

A very simple and minimal PHP router

v2.0.0(9y ago)326MITPHP

Since Apr 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/diversen/minimal-router)[ Packagist](https://packagist.org/packages/diversen/minimal-router)[ RSS](/packages/diversen-minimal-router/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (7)Used By (0)

minimal-router
==============

[](#minimal-router)

A very simple and minimal router for PHP. Routing is done with regular expressions.

Install:
--------

[](#install)

```
composer require diversen/minimal-router

```

Usage:
------

[](#usage)

See [index.php](index.php) which adds two routes.

You can run the built-in PHP server in `minimal-router/`which will run the example.

See [test.php](test.php) which holds the `actions`for the two routes.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

6

Last Release

3287d ago

Major Versions

v1.0.4 → v2.0.02017-06-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed91d104f16d10414811ecdafbd5c80a660e658d80ccaadf84f512cfb50629?d=identicon)[diversen](/maintainers/diversen)

---

Top Contributors

[![diversen](https://avatars.githubusercontent.com/u/142675?v=4)](https://github.com/diversen "diversen (16 commits)")

---

Tags

php-router

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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