rareloop/router
Rareloop Router is a lightweight, fast PHP router built around PSR-7 and PSR-15. It supports route parameters, groups, middleware, named routes and route caching, making it easy to add clean, expressive routing to any PHP application without a full framework.
Architecture fit
rareloop/router is a routing component, not a framework. It consumes a PSR-7 request, resolves a controller through a PSR-11 container, runs PSR-15 middleware, and returns a PSR-7 response. It deliberately does not own the kernel, the emitter, or the DI container.route() URL generation, signed URLs, implicit model binding, resource controllers, exception handling, and the HTTP kernel. Swapping in this package would mean rebuilding those behaviors, not configuring them.Integration feasibility
composer require, register routes against a container instance, hand it a PSR-7 request, emit the response. Groups, prefixes, named routes, route parameters, and per-route/group middleware are first-class.Technical risk
Key questions for engineering
Stack fit
Migration path
rareloop/router for migrated paths and falls through to the legacy dispatcher for everything else. This allows route-by-route porting with a single reversible cutover point.Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes to instrument
Ramp-up
How can I help you explore Laravel packages today?