artisansdk/ratelimiter
ArtisanSDK RateLimiter is a Laravel/PHP package for adding configurable request throttling to your app. Define limits per route or key, enforce rate rules, and protect APIs from abuse with simple integration and clear control over retry/decay settings.
/api/payments vs /api/public-data), reducing false positives and improving UX.Adopt if:
/auth/login vs /api/webhooks).Look elsewhere if:
spatie/laravel-rate-limiting).For Executives:
"This package lets us enforce API rate limits at scale—like a bouncer for our public endpoints—without hiring extra security engineers. For example, we can block malicious bots from spamming /api/login while letting legitimate users access /api/products freely. It’s open-source (no hidden costs), integrates seamlessly with Laravel, and saves us months of dev time. The leaky-bucket algorithm is proven to handle bursts gracefully, so we won’t accidentally block legitimate traffic during traffic spikes. Let’s use it to harden our APIs while keeping costs low."
For Engineering:
*"The artisansdk/ratelimiter gives us:
['/api/payments' => 100/minute]).composer require artisansdk/ratelimiter).app/Http/Kernel.php or route groups./api/auth first to validate before rolling out."*For Security/Compliance: *"This addresses:
/api/transactions).How can I help you explore Laravel packages today?