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

ActiveLibrary

yiistack/routing
================

Yii 3.0 annotated routing

14PHP

Since Sep 11Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://github.com/yiistack.png) ](https://github.com/yiistack)

Yii routing
===========

[](#yii-routing)

[![Latest Stable Version](https://camo.githubusercontent.com/279dff78d5ddf98ddc096f1b318735e0efd0ff9ca66f5c210741e7fa9fa8002c/68747470733a2f2f706f7365722e707567782e6f72672f796969737461636b2f726f7574696e672f762f737461626c652e706e67)](https://packagist.org/packages/yiistack/routing)[![Total Downloads](https://camo.githubusercontent.com/9addd7f734db59524009dd10f56cbffb7768f1b0ad17dd527c165671c27460b9/68747470733a2f2f706f7365722e707567782e6f72672f796969737461636b2f726f7574696e672f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiistack/routing)[![Build status](https://github.com/yiistack/routing/workflows/build/badge.svg)](https://github.com/yiistack/routing/actions?query=workflow%3Abuild)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4a368905ce510bb690920b76905b763e460ceede42a3a641f1348f40a8faf653/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969737461636b2f726f7574696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yiistack/routing/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/58003578a3ea4291a62a00ef078ae066bcdf2f5218a8cd5f662ddcea04b41644/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969737461636b2f726f7574696e672f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yiistack/routing/?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/f7a6cb8609a0d8c0a5077ab59b389c72493cb77db33162d12db582626f940efc/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246796969737461636b253246726f7574696e672532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/yiistack/routing/master)[![static analysis](https://github.com/yiistack/routing/workflows/static%20analysis/badge.svg)](https://github.com/yiistack/routing/actions?query=workflow%3A%22static+analysis%22)

The package Routing

Requirements
------------

[](#requirements)

- PHP 7.4 or higher.

Installation
------------

[](#installation)

The package could be installed with composer:

```
composer require yiistack/routing --prefer-dist

```

General usage
-------------

[](#general-usage)

### Unit testing

[](#unit-testing)

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```
./vendor/bin/phpunit
```

### Mutation testing

[](#mutation-testing)

The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:

```
./vendor/bin/infection
```

### Static analysis

[](#static-analysis)

The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:

```
./vendor/bin/psalm
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/6df37eedfd8233de51e178fd857e54fe816ee7ffaad28cea49736be83e00ed07?d=identicon)[rustamwin](/maintainers/rustamwin)

---

Top Contributors

[![rustamwin](https://avatars.githubusercontent.com/u/16498265?v=4)](https://github.com/rustamwin "rustamwin (41 commits)")

---

Tags

annotationslibraryroutingyiiyii3

### Embed Badge

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

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

PHPackages © 2026

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