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

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

duyler/router
=============

Duyler router

0368PHPCI passing

Since Jul 7Pushed 10mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Router
======

[](#router)

[![build](https://github.com/duyler/router/workflows/build/badge.svg)](https://github.com/duyler/router/workflows/build/badge.svg)

Usage routing:
--------------

[](#usage-routing)

```
Route::get('/categories/edit/{$id}')
    ->where(['id' => Type::Integer])
    ->handler('Catalog')
    ->action('CategoryEdit')
    ->name('category.edit');

$routeCollection = new RouteCollection();
$routeCollection->add(
    Route::get('/categories/edit/{$id}')
        ->where(['id' => Type::Integer])
        ->handler('Catalog')
        ->action('CategoryEdit')
        ->name('category.edit')
);

$router = new Router();
$currentRoute = $router->startRouting($routeCollection, $request);

```

Creating links from routes:
---------------------------

[](#creating-links-from-routes)

```
Url::get('category.edit', ['id' => 1]);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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/69f18edde71f0f80540eda4e097854eddf8eb3390f38ff2ad241b9daaf622281?d=identicon)[milinsky](/maintainers/milinsky)

---

Top Contributors

[![milinsky](https://avatars.githubusercontent.com/u/17288321?v=4)](https://github.com/milinsky "milinsky (43 commits)")

### Embed Badge

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

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

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)

PHPackages © 2026

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