PHPackages                             widi/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. [Framework](/categories/framework)
4. /
5. widi/router

ActiveLibrary[Framework](/categories/framework)

widi/router
===========

Router component

2.0.2(9y ago)1421LGPL-3.0PHPPHP ^5.6 || ^7.0

Since Oct 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dirkwinkhaus/Widi-Router)[ Packagist](https://packagist.org/packages/widi/router)[ RSS](/packages/widi-router/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (14)Used By (0)

Widi\\Components\\Router
========================

[](#widicomponentsrouter)

Change log
----------

[](#change-log)

2.0.1
\+ updated readme and test path

2.0.0
\+ refactored to use psr7 request interface

1.4.1
\+ fix readme file list

1.4.0
\+ added feature get route key path for accessmanagement + remove build route array

1.3.1
\+ added php version to composer

1.3.0
\+ added feature to route manually and override uri and method

1.2.0
\+ fix default routing array + added get request feature

1.1.2
\+ fixed generated sub route handling + created route add function

1.1.1
\+ readme updated + added description to package

1.1.0
\+ added callback function

1.0.2
\+ fixed package name

1.0.1
\+ 1st release

Code Sample
-----------

[](#code-sample)

### Array routes

[](#array-routes)

```

Router Demo
route key: ""
controller: ""
action: ""
route key path: ""
route parameter

route extra data

```

Files
-----

[](#files)

- src/Exception
- src/Exception/NoMethodRequestException.php
- src/Exception/RequestException.php
- src/Exception/RequestMethodNotCreatedException.php
- src/Exception/RouteComparatorNotCreatedException.php
- src/Exception/RouteNotCreatedException.php
- src/Exception/RouterException.php
- src/Exception/ValidatorNotCreatedException.php
- src/LICENSE
- src/Request.php
- src/Route
- src/Route/Comparator
- src/Route/Comparator/ComparatorInterface.php
- src/Route/Comparator/Equal.php
- src/Route/Comparator/Regex.php
- src/Route/Method
- src/Route/Method/AbstractMethod.php
- src/Route/Method/Delete.php
- src/Route/Method/Get.php
- src/Route/Method/MethodInterface.php
- src/Route/Method/Post.php
- src/Route/Method/Put.php
- src/Route/Route.php
- src/Route/Validator
- src/Route/Validator/IsInt.php
- src/Route/Validator/IsString.php
- src/Route/Validator/NotEmpty.php
- src/Route/Validator/RegEx.php
- src/Route/Validator/ValidatorInterface.php
- src/Router.php
- src/RouterFactory.php

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~54 days

Total

13

Last Release

3335d ago

Major Versions

1.4.1 → 2.0.02017-03-06

PHP version history (2 changes)1.3.1PHP ^5.6

2.0.2PHP ^5.6 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![dirkwinkhaus](https://avatars.githubusercontent.com/u/13220111?v=4)](https://github.com/dirkwinkhaus "dirkwinkhaus (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k34](/packages/neuron-core-neuron-ai)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.7k](/packages/cakephp-cakephp)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k10.6M64](/packages/bref-bref)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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