dannyvankooten/AltoRouter
PHP routing class. Lightweight yet flexible. Supports REST, dynamic and reversed routing. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 1
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5146
- days_rel: 603
- days_push: 599
- n_releases_24m: 1
Adoption not part of the score
1258 stars · 230 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AltoRouter is a small, lightweight PHP routing class supporting REST, dynamic named parameters, and reversed routing. It offers flexible regex-based route matching inspired by Sinatra and klein.php.
Use cases
- route http requests in a small php application
- map dynamic url parameters to controllers
- generate urls from named routes
- support rest-style routing without a full framework
- match custom regex patterns in urls
When to choose
- you want a tiny, dependency-free router for a php project
- you need reversed routing to generate urls from named routes
- you're building a small app or microsite without a full framework
When to avoid
- you need a full-featured framework with middleware, dependency injection, and ecosystem
- you're building a large application needing advanced routing features like route groups or automatic caching
Facets
library · maturity maintenance
routing http-server middleware web-development backend apis php self-hosted rest-routing reversed-routing dynamic-routing lightweight sinatra-inspired web-server
2 sources
- readme: https://github.com/dannyvankooten/AltoRouter · fetched 2026-08-28 · 3deb9144010c
- homepage: https://dannyvankooten.github.io/AltoRouter/ · fetched 2026-08-29 · 29b6b317c440
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dannyvankooten/AltoRouter | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="dannyvankooten/AltoRouter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem