pecee/simple-router
A fast, lightweight PHP router with a simple, expressive API. Supports route groups, middleware, custom regex patterns, named routes and reverse routing, plus optional parameter binding and subdomain routing. Works with or without a framework.
For executives: This is a small, focused PHP routing library that can reduce time-to-delivery for non-Laravel services and legacy modernization work. It is not a strategic platform investment. Approve it only for low-risk, scoped use cases where engineering accepts dependency ownership, version pinning, and upgrade responsibility. Do not position it as a replacement for Laravel or as a long-term critical-infrastructure bet without a maintenance plan.
For engineering: The package offers a simple, fast, Laravel-inspired routing layer that is easy to integrate into plain PHP projects. It is best suited to small services, internal APIs, prototypes, and legacy apps where introducing Laravel would be disproportionate. Key diligence items: confirm PHP-version compatibility, review route/middleware behavior, pin the 2023-12 release or newer verified version, and establish an internal owner for security and upgrade decisions. For Laravel applications, default to the native router. For critical systems, require an explicit risk acceptance or consider a more actively maintained alternative.
How can I help you explore Laravel packages today?