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

ActiveLibrary

spiral/router
=============

Routes, RESTFul, URI generation, Adaptive Patterns

3.16.1(2mo ago)617.6k16MITPHPPHP &gt;=8.1CI failing

Since Sep 14Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/router)[ Packagist](https://packagist.org/packages/spiral/router)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-router/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (13)Versions (109)Used By (6)

Routes, RESTFul, URI generation, Adaptive Patterns
==================================================

[](#routes-restful-uri-generation-adaptive-patterns)

[![PHP Version Require](https://camo.githubusercontent.com/0fd333068ddbd2d5630bb1e4f903edec8030f64af76005063c3274356bbb873a/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f726f757465722f726571756972652f706870)](https://packagist.org/packages/spiral/router)[![Latest Stable Version](https://camo.githubusercontent.com/0b76047f3706d136a2ddc2d2a42be9560d818430b840cd85ea52798952e45862/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f726f757465722f762f737461626c65)](https://packagist.org/packages/spiral/router)[![phpunit](https://github.com/spiral/router/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/router/actions)[![psalm](https://github.com/spiral/router/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/router/actions)[![Codecov](https://camo.githubusercontent.com/b2704c4dbdc462b217d11c50706e94ee54585888342e75e33c8f51ecc154ca86/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f726f757465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/router/)[![Total Downloads](https://camo.githubusercontent.com/bdada274c94e2695c91e5c42db9159d8c454647aa6461b8b27caa03a96178bce/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f726f757465722f646f776e6c6f616473)](https://packagist.org/packages/spiral/router)[![type-coverage](https://camo.githubusercontent.com/3199883362376915e9a2e0aebf2dc7272cd19d35c2536d4edf9fb1ab15ceabe5/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f726f757465722f636f7665726167652e737667)](https://shepherd.dev/github/spiral/router)[![psalm-level](https://camo.githubusercontent.com/eb6c7fda9df6038fabc00c77ffab3077f2763085e774feff53a3c0e955d6689d/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f726f757465722f6c6576656c2e737667)](https://shepherd.dev/github/spiral/router)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/http-routing)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance84

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82% 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 ~26 days

Recently: every ~82 days

Total

106

Last Release

81d ago

Major Versions

v1.4.7 → v2.6.02020-09-02

2.14.1 → 3.0.02022-09-13

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.3.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (146 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (23 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (4 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (2 commits)")

---

Tags

php7restfulrouterroutingspiral

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M702](/packages/league-commonmark)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symfony/mailer

Helps sending emails

1.6k368.1M955](/packages/symfony-mailer)

PHPackages © 2026

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