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 1mo 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

14

—

LowBetter than 2% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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/431c9ffffae0266fec25e4d8a6957d9c468c8d75db11c58ccb1c31bbbf305b90?d=identicon)[Yukae](/maintainers/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

[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M109](/packages/phpdocumentor-reflection)[spatie/array-functions

Some handy array helpers

24561.1k2](/packages/spatie-array-functions)[cekurte/environment

A library to get the values from environment variables and process to php data types

5884.0k7](/packages/cekurte-environment)[forxer/gravatar

A library providing easy gravatar integration.

35202.0k8](/packages/forxer-gravatar)[netgen/layouts-ui

Netgen Layouts user interface

17110.8k2](/packages/netgen-layouts-ui)[ebidtech/collection

A set of interfaces and traits to speed up the creation of collections

13119.8k6](/packages/ebidtech-collection)

PHPackages © 2026

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