rate-limiter
Installation
SKILL.md
Symfony Rate Limiter
When to use
- The user wants to protect a login or API endpoint from brute force by rate limiting requests per IP or per user in Symfony.
- The user must configure the storage backend for Symfony rate-limiter state, such as a cache pool or Redis, so limits are shared across processes.
- The user needs to throttle requests or actions with the Symfony RateLimiter component using a token bucket, sliding window, or fixed window policy.
When NOT to use
- Do not use the application RateLimiter for coarse, network-level limits that a reverse proxy, API gateway, or WAF should enforce before PHP boots.
- Do not use this skill for rate limiting outside the Symfony RateLimiter component, such as Laravel throttle middleware or a raw Redis script.