PHPackages                             swim/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swim/router

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

swim/router
===========

Server router that does not see colors i.e you can hopefully use it for any server setup

00PHP

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Hoyoll/swim-router)[ Packagist](https://packagist.org/packages/swim/router)[ RSS](/packages/swim-router/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Router that hopefully can be used for as many server setup as possible.

Still WIP tho.

Why? Because for some reason route class in any framework always ended up dictating the project's structure and architecture in a small or big way that i don't enjoy very much.

\#example

-To set it up

Request::dispatch($uri, $request\_method, $some\_packet\_that\_you\_may\_want\_to\_use\_in\_your\_app\_like\_header\_and\_stuff\_which\_i\_would\_advise\_to\_use\_class)

-To register new route Route::add('/:id') -&gt;on(\['post'\], function($your\_packet, $url\_param\_if\_exist){ #your\_logic })

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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://avatars.githubusercontent.com/u/22443830?v=4)[Yukae](/maintainers/Yukae)[@yukae](https://github.com/yukae)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[trntv/probe

System information provider

34694.8k5](/packages/trntv-probe)[setono/sylius-feed-plugin

Plugin to generate feeds within the Sylius ecommerce platform

26482.1k](/packages/setono-sylius-feed-plugin)[microman/kirby-column-blocks

Use columns in block fields based on the layout field.

432.8k](/packages/microman-kirby-column-blocks)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

167.3k](/packages/friends-of-hyva-magento2-crawler-session)

PHPackages © 2026

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