symfonyrate-limiting

MakFly's avatarfrom MakFly

Implement rate limiting with Symfony RateLimiter component; configure sliding window, token bucket, and fixed window algorithms

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill automates the implementation and configuration of the Symfony RateLimiter component within PHP applications. It enables developers to quickly deploy robust traffic control mechanisms, supporting industry-standard algorithms such as sliding window, token bucket, and fixed window to enhance application security and resource management.

Use Cases

  • Protecting authentication endpoints: Implementing rate limits on login and password reset routes to prevent brute-force and credential-stuffing attacks.
  • API Rate Limiting: Managing request throughput for public or private APIs to ensure service stability and prevent infrastructure exhaustion.
  • Custom Traffic Shaping: Configuring specific algorithms like the Token Bucket for handling bursty traffic or the Sliding Window for precise time-based restrictions.
  • Resource Optimization: Reducing server load by limiting expensive operations or third-party API calls initiated by users.
namesymfony:rate-limiting
descriptionUse when symfony rate limiting

symfony:rate-limiting (Micro)

Use when

  • Use when symfony rate limiting

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md