charm/router

A very fast, tiny single file router implementation. Compatible with PSR Middlware. Takes you from /users/{id:\d+} to `User::profile($id)`. Also in reverse: `$router->url([User::class, 'profile'], 123)` gives you the URL.

0.0.9 2021-09-06 10:20 UTC

This package is auto-updated.

Last update: 2024-11-09 17:50:55 UTC