5 open-source projects similar to klein/klein.php, ranked by shared indexed features. Tags may describe platforms or build tools rather than the same primary purpose. Check each project’s use case, license, and deployment requirements before treating it as a replacement.
FastRoute is a PHP request router that maps incoming HTTP request URIs to specific handlers. It functions as a regular expression router, matching dynamic request paths against patterns to extract variables and route traffic. The project operates as a cached route dispatcher, storing pre-computed routing tables to eliminate the overhead of parsing definitions on every request. It utilizes regular expression grouping to combine multiple route patterns into a single operation, reducing the total number of matching steps required for resolution. The library covers dynamic API endpoint managemen
Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.