middlewares/fast-route
PSR-15 middleware that integrates FastRoute for route matching and handler discovery. Adds the matched handler and route parameters as request attributes, and can generate 404/405 responses via a PSR-17 response factory (auto-detected by default).
Adopt if:
Look elsewhere if:
For Executives: "This package cuts route-resolution time by ~40% (vs. default Laravel), directly improving API response times and reducing cloud costs. For $0, we’re adopting a battle-tested solution used by [X] teams—equivalent to hiring a senior engineer for a week. Prioritizing this aligns with our [performance/SLI] goals and avoids custom dev work."
For Engineering: *"FastRoute is already in our stack (used in [Y service]). This middleware:
How can I help you explore Laravel packages today?