PHPackages                             leevel/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. leevel/router

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

leevel/router
=============

The Leevel Router Package.

v2.0.6(1y ago)072MITPHPPHP &gt;=8.4.1

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/leevels/router)[ Packagist](https://packagist.org/packages/leevel/router)[ Docs](http://queryphp.com)[ RSS](/packages/leevel-router/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (32)Used By (2)

Router
======

[](#router)

[![Latest Stable Version](https://camo.githubusercontent.com/52186b911bf324eb80737ba9b525ed2c3d79c88fbe52c665463a71bb78a1f176/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656576656c2f726f757465722e737667)](https://packagist.org/packages/leevel/router)[![Minimum PHP Version](https://camo.githubusercontent.com/ff973d997d28d971c1cb542bde9469846d215e671126a6dd979036dd84cda600/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e342e312d3838393242462e737667)](https://php.net)[![QueryPHP Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.queryphp.com/docs/)

QueryPHP Router Component.

Install
-------

[](#install)

- composer command

```
composer require leevel/router
```

Resources
---------

[](#resources)

- [Documentation](https://www.queryphp.com/docs/router/)
- [Contributing](https://www.queryphp.com/docs/developer/)
- [Report issues](https://github.com/hunzhiwange/framework/issues) and [send Pull Requests](https://github.com/hunzhiwange/framework/pulls)in the [main QueryPHP repository](https://github.com/hunzhiwange/framework)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance40

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

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

Recently: every ~184 days

Total

31

Last Release

509d ago

Major Versions

v1.1.53 → v2.0.62024-12-22

PHP version history (8 changes)v1.0.0-alpha.2PHP ^7.1.3

v1.0.0-beta.1PHP ^7.3.2

v1.0.0-rc.3PHP ^7.4.0

v1.0.2PHP ^7.4.0 || ^8.0

v1.1.0-alpha.1PHP ^8.0

v1.1.0PHP &gt;=8.1

v1.1.53PHP &gt;=8.3

v2.0.6PHP &gt;=8.4.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/735e710d4c01fcfa7c2bb9d5e6760112cc192b578cac4978ce99ddb6aa726fe5?d=identicon)[hunzhiwange](/maintainers/hunzhiwange)

---

Top Contributors

[![doyouhaobaby](https://avatars.githubusercontent.com/u/2012511?v=4)](https://github.com/doyouhaobaby "doyouhaobaby (362 commits)")

### Embed Badge

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

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

###  Alternatives

[usamamuneerchaudhary/country-city-state

Country City State Data Provider for Laravel 12+

242.6k](/packages/usamamuneerchaudhary-country-city-state)

PHPackages © 2026

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