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

ActiveLibrary[Framework](/categories/framework)

kolserdav/router
================

Routing module

v0.2.1(8y ago)1361MITPHP

Since Apr 6Pushed 8y ago2 watchersCompare

[ Source](https://github.com/kolserdav/router)[ Packagist](https://packagist.org/packages/kolserdav/router)[ RSS](/packages/kolserdav-router/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

The simple route module.

*Installation*

~$`composer require kolserdav/router`

\[Make catalog src/Controller ...
Copy file src/Controller/TestController.php ...
Copy file src/Controller/ErrorPage.php ...
Rewrite namespaces ...
Make catalog /config/route ...
Copy file /config/route/routes.yaml\]
or call...

~$`php vendor/kolserdav/router/install`

*Using*

You must use a single access point.

index.php

```
require 'vendor/autoload.php';

use Avir\Router\Route;

$router = new Route();
$router->route();
```

Add your routes in /config/route/routes.yaml

```
index :
      path : /
      controller: IndexController::indexPublic
users :
      path : /users/
      controller : User\UserConroller::usersPublic
```

Create custom controllers with methods.
*For example:*
IndexController::indexPublic
User\\UserConroller::usersPublic

When coinciding field 'path' with URI, the specified controller will be turned on. If URI contains of number, it will be available in the controller as...

```
class SomeClass
{
    public $id

    public function someFunction(){
        $this->id;
    }
}
```

Also you can transfer parameters to URI

```
http://some.domains/some/uri/path?one=param1&two=param2&three=param3 //...

```

and catch them in the controller as

```
class SomeClass
{
   public $params;

   public function someFunction(){
       $this->params; //[ one : param1, two : param2, three : param3 ]
   }
}
```

It's all... Very simple!

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~5 days

Total

3

Last Release

2997d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9353076?v=4)[Sergei Davidovich Kolmiller](/maintainers/kolserdav)[@kolserdav](https://github.com/kolserdav)

---

Top Contributors

[![kolserdav](https://avatars.githubusercontent.com/u/9353076?v=4)](https://github.com/kolserdav "kolserdav (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k199.2M1.2k](/packages/laravel-sail)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[getkirby/cms

The Kirby core

1.5k567.4k438](/packages/getkirby-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M398](/packages/drupal-core-recommended)

PHPackages © 2026

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