Ross ROSS = Recommend OSS · open-source software intelligence for agents

bramus/router

A lightweight and simple object oriented PHP Router observed · 2026-08-28

github.com/bramus/router · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 4896
  • days_rel: n/a
  • days_push: 904
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1126 stars · 237 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A lightweight, object-oriented HTTP router library for PHP that maps request methods and URL patterns to callbacks. It supports static and dynamic (PCRE or placeholder) route patterns, middleware, subrouting, and custom 404 handling.

Use cases

  • route http requests in a php application
  • define rest endpoints with get post put delete
  • add before and after middleware to routes
  • mount subroutes under a prefix
  • handle 404s with custom logic
  • build a small php api without a full framework

When to choose

  • you need a minimal router for a php site or micro-API without a heavy framework
  • you want simple pattern-based routing with optional middleware
  • your app runs in a subfolder and needs subfolder support

When to avoid

  • you need a full framework with ORM, templating, and auth built in
  • you need async or non-PHP routing
  • you require advanced features like automatic route caching or PSR-15 middleware

Facets

library · maturity stable

routing middleware http-server web-development backend apis php self-hosted php-router rest-routing microframework http-methods url-rewriting web-server

1 source

Member repositories

RepositoryRoleHealth v2
bramus/routermain32

For agents

markdown · JSON · MCP: product_card(name="bramus/router")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem