bedrockstreaming/rate-limit-bundle
/api/v1/webhooks or /graphql.Adopt if:
/admin vs. /public).x-rate-limit-remaining reduce support overhead).Look elsewhere if:
rate-limiter-flexible).For Executives:
"This package lets us automatically throttle abusive API traffic—like a force field for our endpoints—without hiring a security specialist. For example, if a scraper hits our /products endpoint 1,000 times in 10 minutes, they’ll get blocked after 25 requests (configurable). It’s like a turnkey firewall for APIs, saving us from DDoS risks and cloud costs. Implementation takes under an hour (just add an annotation to routes), and the debug headers help ops teams spot issues fast. We’re prioritizing this for our public API to align with our Q3 security roadmap."
For Engineering: *"This is a lightweight, annotation-driven rate-limiter for Laravel/Symfony that:
#[RateLimit].#[GraphQLRateLimit] (with a one-line composer require)./admin = 5/min, /public = 100/min).x-rate-limit-remaining to responses.Proposal: Use this for Phase 1 (public API endpoints), then evaluate scaling to Redis if we hit multi-server needs. Alternatives like custom middleware would take 3x longer to build and test."*
How can I help you explore Laravel packages today?