PHPackages                             reymark/mrouter - 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. reymark/mrouter

ActiveLibrary

reymark/mrouter
===============

A lightweight and flexible PHP routing library for building clean and maintainable web applications.

v0.0.1(6mo ago)02MITPHPPHP &gt;=7.4

Since Nov 5Pushed 6mo agoCompare

[ Source](https://github.com/Mark6286/mrouter)[ Packagist](https://packagist.org/packages/reymark/mrouter)[ RSS](/packages/reymark-mrouter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

🛣️ MRouter — Lightweight PHP Routing Library
============================================

[](#️-mrouter--lightweight-php-routing-library)

[![PHP Version](https://camo.githubusercontent.com/f575af1b648be492e22e809caebece8d6ae4d5319ad769664ee7a52e1c31c939/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e302d626c7565)](https://www.php.net/)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/3ab4882a1b7d64e5eb5168ad0b0b9cdfd53f59f114ee5f727958504214a5789c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d70617373696e672d627269676874677265656e2e737667)](#)

A lightweight, dependency-free PHP routing library for building clean, fast, and maintainable web applications.
Designed to work in **any PHP project**, including plain PHP, MVC structures, or custom frameworks.

---

🚀 Features
----------

[](#-features)

✅ Simple and expressive route definitions
✅ Supports GET, POST, PUT, DELETE, and multiple methods
✅ Dynamic parameters (`/user/{id}`)
✅ Route grouping with prefixes and middlewares
✅ Named routes (`->name('route.name')`)
✅ Custom 404 handlers
✅ Fully tested with PHPUnit
✅ PSR-4 autoload compatible

---

📦 Installation
--------------

[](#-installation)

```
composer require reymark/mrouter
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance67

Regular maintenance activity

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.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

Unknown

Total

1

Last Release

194d ago

### Community

Maintainers

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

---

Top Contributors

[![rmsbal](https://avatars.githubusercontent.com/u/264789888?v=4)](https://github.com/rmsbal "rmsbal (5 commits)")[![Mark6286](https://avatars.githubusercontent.com/u/116934125?v=4)](https://github.com/Mark6286 "Mark6286 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reymark-mrouter/health.svg)

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

PHPackages © 2026

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