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

ActiveLibrary

technopreacher/router
=====================

015PHP

Since May 16Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

**компонент динамического роутера**

**дополнен передачей гет-параметров через рефлексию**

**дополнен иерархией исключений**

в каталоге example лежит index.php, который показывает пример использования роутера (для тестов этот index.php должен лежать в корне проекта)

также добавлен класс SomeClass для демонстрации возможностей обработки калбэков

есть два класса - HttpException, расширяющий /Exception и HttpExceptionAction, расширяющий HttpExceptionAction, каждый со своими сообщениями об ошибках роутинга и кодами &lt;500 (коды - вымышленны)

Если запросить  то вызовет метод view2 класса SomeClass без передачи в него параметров (выводятся значения по умолчанию):

view2 method from some class values of params (changed if get-request is set): id = 0; foo = 3 ru = 8

Если запросить [http://test.local/aa/bb?id=95&amp;foo=78&amp;ru=69](http://test.local/aa/bb?id=95&foo=78&ru=69) то передаст в метод параметры:

view2 method from some class values of params (changed if get-request is set): id = 95; foo = 78 ru = 69

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

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/ac3419548fd2a92e75ff66270b447ac3bc15d7704cc06808cc809110583f1f23?d=identicon)[TechnoPreacher](/maintainers/TechnoPreacher)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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