PHPackages                             yjx/easy-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. yjx/easy-router

ActiveLibrary

yjx/easy-router
===============

学习构建路由的练手作, 核心正则"参考" nikic/fast-route. 增加了部分语法糖, 同时占位符类型定义中允许使用分组等, 未使用 FastRoute 的分块合并正则表达式方法, 因此不适用于要求性能的项目.

v1.0.0(7y ago)422MITPHPPHP &gt;=5.3.0

Since May 18Pushed 7y agoCompare

[ Source](https://github.com/youjiaxing/EasyRouter)[ Packagist](https://packagist.org/packages/yjx/easy-router)[ RSS](/packages/yjx-easy-router/feed)WikiDiscussions master Synced 2mo ago

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

EasyRouter
==========

[](#easyrouter)

学习构建路由的练手作, 核心正则"参考" nikic/fast-route. 增加了部分语法糖, 同时占位符类型定义中允许使用分组等, 未使用 FastRoute 的分块合并正则表达式方法, 因此不适用于要求性能的项目.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2914d ago

### Community

Maintainers

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

---

Top Contributors

[![youjiaxing](https://avatars.githubusercontent.com/u/38421510?v=4)](https://github.com/youjiaxing "youjiaxing (2 commits)")

---

Tags

routerrouting

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/routing

Maps an HTTP request to a set of configuration variables

7.6k789.4M1.8k](/packages/symfony-routing)[nikic/fast-route

Fast request router for PHP

5.3k92.4M668](/packages/nikic-fast-route)[klein/klein

A lightning fast router for PHP

2.7k1.1M31](/packages/klein-klein)[altorouter/altorouter

A lightning fast router for PHP

1.3k3.4M68](/packages/altorouter-altorouter)[bramus/router

A lightweight and simple object oriented PHP Router

1.1k458.8k49](/packages/bramus-router)[aura/router

Powerful, flexible web routing for PSR-7 requests.

5231.5M67](/packages/aura-router)

PHPackages © 2026

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