PHPackages                             ipub/slim-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. [HTTP &amp; Networking](/categories/http)
4. /
5. ipub/slim-router

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ipub/slim-router
================

Super simple PSR-7 customizable routing system with middleware

v0.2.0(5y ago)058.5k↑77.8%1GPL-2.0PHPPHP &gt;=7.4.0CI failing

Since Mar 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ipublikuj/slim-router)[ Packagist](https://packagist.org/packages/ipub/slim-router)[ Docs](https://github.com/iPublikuj/slim-router)[ RSS](/packages/ipub-slim-router/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (1)

PSR-7 slim router
=================

[](#psr-7-slim-router)

[![Build Status](https://camo.githubusercontent.com/49c445c3d6a0ae112a66189d37c1f88293ffd9f3d18feb2e146836fffac08511/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f697075626c696b756a2f736c696d2d726f757465722f6d61737465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/ipublikuj/slim-router)[![Code coverage](https://camo.githubusercontent.com/ec2e2c0ee96455edb157813c91348675ef42065fd2925669c15e4b3d996c03b1/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f697075626c696b756a2f736c696d2d726f757465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://coveralls.io/github/ipublikuj/slim-router)[![PHP](https://camo.githubusercontent.com/4825691e5da5595007abb0f2f8ea42afa44a1a8f69e65fbd73c5624bed3a6db6/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f697075622f736c696d2d726f757465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://camo.githubusercontent.com/4825691e5da5595007abb0f2f8ea42afa44a1a8f69e65fbd73c5624bed3a6db6/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f697075622f736c696d2d726f757465723f63616368653d333030267374796c653d666c6173742d737175617265)[![Licence](https://camo.githubusercontent.com/5efa3daf5f4ccded8fd92c3b900d468e5b6b746c9a94ae5235ed6c17049b9867/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f697075622f736c696d2d726f757465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/ipublikuj/slim-router/blob/master/LICENSE.md)[![Downloads total](https://camo.githubusercontent.com/0dba7154548fb0b6904243015062bad5abf87111ee06b4c59667278825d15aa5/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f697075622f736c696d2d726f757465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/ipub/slim-router)[![Latest stable](https://camo.githubusercontent.com/3acd5ad85ebf6b3528cf6c9e868e178f89dd546172af98af98eda83cfd5709b3/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f697075622f736c696d2d726f757465722f6c61746573743f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/ipub/slim-router)[![PHPStan](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpstan/phpstan)

PSR-7 super slim router inspired with [Fast Route](https://github.com/nikic/FastRoute) and [Slim framework](http://www.slimframework.com).

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

[](#installation)

The best way to install **ipub/slim-router** is using [Composer](http://getcomposer.org/):

```
composer require ipub/slim-router
```

Documentation
-------------

[](#documentation)

Learn how to create &amp; handle routes in [documentation](https://github.com/iPublikuj/slim-router/blob/master/docs/en/index.md).

---

Homepage  and repository .

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1863d ago

PHP version history (2 changes)v0.1.0PHP &gt;=7.2.0

v0.2.0PHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![akadlec](https://avatars.githubusercontent.com/u/1866672?v=4)](https://github.com/akadlec "akadlec (12 commits)")

---

Tags

fastrouteipubipublikujpsr-7routerroutingpsr-7middlewareroutertoolsipubipublikuj

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B3.7k](/packages/guzzlehttp-psr7)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[mezzio/mezzio

PSR-15 Middleware Microframework

3903.8M120](/packages/mezzio-mezzio)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

577.0M95](/packages/laminas-laminas-stratigility)[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6673.2M136](/packages/league-route)[sunrise/http-router

A powerful solution as the foundation of your project.

17450.9k10](/packages/sunrise-http-router)

PHPackages © 2026

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