PHPackages                             bavix/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. [API Development](/categories/api)
4. /
5. bavix/router

ActiveLibrary[API Development](/categories/api)

bavix/router
============

Component for building site routes. It just works!

2.0.2(7y ago)15.4k2MITPHPCI failing

Since May 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bavix/router)[ Packagist](https://packagist.org/packages/bavix/router)[ Docs](https://github.com/bavix/router)[ RSS](/packages/bavix-router/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (6)Versions (11)Used By (2)

router
======

[](#router)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/85afe57c491c62b96f1985cb73d680d643b71a4f0d9ac771f680bd256a4f001d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f726f757465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/router/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/17f52cef0930adc37c04fe5db9fc8b628c7ad1b3d29ec85f9fdc393134985cee/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f726f757465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/router/?branch=master)[![Build Status](https://camo.githubusercontent.com/ee09fbc907e9464b9cc043a0eada30a35f9c9176aef1a5ae22a35ce03bb8aa8c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f726f757465722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/router/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/73b6ef87341cc7766a3717e00ffa8020b613c198a4141a7a17880094520c6a00/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f726f757465722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

[![Package Rank](https://camo.githubusercontent.com/94e4f5f8da86a1b9a9c705941eae3bf931b24d4705679574ff6d405c6a3b2b3a/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f726f757465722f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/router)[![Latest Stable Version](https://camo.githubusercontent.com/5139be3c0783ee88ae42b13a8846d7663fafa9e031c14133f53bfd0cbdbba3e1/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f726f757465722f762f737461626c65)](https://packagist.org/packages/bavix/router)[![Latest Unstable Version](https://camo.githubusercontent.com/5d3bbb58056c28d0c1edb9302b394e153b628b844d0428360f261b7eb98646f9/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f726f757465722f762f756e737461626c65)](https://packagist.org/packages/bavix/router)[![License](https://camo.githubusercontent.com/b4483a29f3c80ab00673c0ac729d51a96b2a5f6a15657b247e94d43a30887455/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f726f757465722f6c6963656e7365)](https://packagist.org/packages/bavix/router)[![composer.lock](https://camo.githubusercontent.com/8f926cd86323914be5ee647b8eedc7ec32ba8c1300821d4bf13d9e31757b8b29/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f726f757465722f636f6d706f7365726c6f636b)](https://packagist.org/packages/bavix/router)

Routing library.

- **Vendor**: bavix
- **Package**: router
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/5139be3c0783ee88ae42b13a8846d7663fafa9e031c14133f53bfd0cbdbba3e1/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f726f757465722f762f737461626c65)](https://packagist.org/packages/bavix/router)
- **PHP Version**: 7.1+
- **[Composer](https://getcomposer.org/):** `composer require bavix/router`

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 91.5% 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 ~77 days

Recently: every ~112 days

Total

9

Last Release

2681d ago

Major Versions

1.0.5 → 2.0.02018-06-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

[![rez1dent3](https://avatars.githubusercontent.com/u/5111255?v=4)](https://github.com/rez1dent3 "rez1dent3 (119 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (3 commits)")[![1271](https://avatars.githubusercontent.com/u/1452243?v=4)](https://github.com/1271 "1271 (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

---

Tags

composerlibraryphprouterwith-psr6urlurirouterrouting

### Embed Badge

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

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

###  Alternatives

[symfony/routing

Maps an HTTP request to a set of configuration variables

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

Fast, fully featured restful request router for PHP

739462.1k29](/packages/phroute-phroute)[miladrahimi/phprouter

A powerful, lightweight, and very fast HTTP URL router for PHP projects.

20832.6k2](/packages/miladrahimi-phprouter)[fsasvari/laravel-trailing-slash

The package that adds redirection with trailing slash to Laravel framework.

63164.3k](/packages/fsasvari-laravel-trailing-slash)[tobion/openapi-symfony-routing

Loads routes in Symfony based on OpenAPI/Swagger annotations

4219.5k](/packages/tobion-openapi-symfony-routing)[szenis/routing

A small and simple PHP router

162.4k2](/packages/szenis-routing)

PHPackages © 2026

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