PHPackages                             colorium/routing - 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. colorium/routing

ActiveLibrary

colorium/routing
================

Colorium Routing Component

046PHP

Since Feb 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/colorium/routing)[ Packagist](https://packagist.org/packages/colorium/routing)[ RSS](/packages/colorium-routing/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple URI router
=================

[](#simple-uri-router)

```
use Colorium\Routing\Router;

// setup routes
$router = new Router;
$router->add('GET /hello/:name', function($name)
{
    echo 'Hello', $name, ' !';
});

// search route
$route = $router->find('GET /hello/you');

// if route not found
if(!$route) {
    // 404
}

// route details
$route->method; // 'GET'
$route->uri; // '/hello/:you'
$route->resource; // function($name) { ... }
$route->params; // ['name' => 'you']
```

Install
-------

[](#install)

`composer require colorium/routing`

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![myeti](https://avatars.githubusercontent.com/u/4303536?v=4)](https://github.com/myeti "myeti (5 commits)")

### Embed Badge

![Health badge](/badges/colorium-routing/health.svg)

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

PHPackages © 2026

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