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

ActiveLibrary[Framework](/categories/framework)

simply/router
=============

Segment based router for routing web requests

v0.2.5(7y ago)11101MITPHPPHP ^7.2

Since Jun 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/simply-framework/router)[ Packagist](https://packagist.org/packages/simply/router)[ RSS](/packages/simply-router/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (3)Versions (9)Used By (1)

Web Application Request Router
==============================

[](#web-application-request-router)

[![Travis](https://camo.githubusercontent.com/a9ea791b0f9084a36585c9f412f2b157d245d3e7fe5eecd5558a32e18257cb68/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73696d706c792d6672616d65776f726b2f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/simply-framework/router)[![Scrutinizer](https://camo.githubusercontent.com/ca1b189e4d6ffb25b6d30fd160c84536dc1dda14b3e04524771d7e1edb3e0318/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73696d706c792d6672616d65776f726b2f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/simply-framework/router/)[![Scrutinizer Coverage](https://camo.githubusercontent.com/586d3f3844870ebf634e54af12f06bfe35b12433c7b51be52f4509f1c37445b4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f73696d706c792d6672616d65776f726b2f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/simply-framework/router/)[![Packagist](https://camo.githubusercontent.com/821ee94ed1c2f603e91e41a740b9b75bde4d3025e9b8e60d21ca4154cb8eefd1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d706c792f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simply/router)

This package provides generic router that may be used with PHP frameworks. The goal of this router is to optimize towards fast startup taking advantage of array op-cache optimizations in PHP 7.

This router uses segment based matching which optimizes usage of static segments in the paths to minimize the need to generate large and slow regular expressions. In some uses cases, this may provide faster routing than simply using a few large regular expression. However, the aim of this package is not to compete in efficiency against more popular routers.

NOTE: This package is part of a framework that is still highly experimental in nature. Stable api or proper documentation are not to be expected until the framework has been tested in practice.

API documentation is available at:

Credits
-------

[](#credits)

This library is Copyright (c) 2018-2019 Riikka Kalliomäki.

See LICENSE for license and copying information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Recently: every ~49 days

Total

7

Last Release

2676d ago

### Community

Maintainers

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

---

Top Contributors

[![Riimu](https://avatars.githubusercontent.com/u/434422?v=4)](https://github.com/Riimu "Riimu (44 commits)")

---

Tags

frameworkphpphp-libraryrouterframeworkrouter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[slim/slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

12.2k49.9M1.3k](/packages/slim-slim)[developermarius/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

112.4k](/packages/developermarius-simple-router)

PHPackages © 2026

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