Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Yii2 Ratelimiter Advanced

Yii2 Ratelimiter Advanced Laravel Package

thamtech/yii2-ratelimiter-advanced

Advanced rate limiter filter for Yii2 using a leaky-bucket algorithm. Define multiple independent limits per action and identifier (IP, user ID, etc.), store allowance/timestamp automatically, customize responses (429, events, headers, callbacks), and support Retry-After.

View on GitHub
Deep Wiki
Context7

Yii2 Advanced Rate Limiter is a flexible Yii2 filter/behavior for enforcing or monitoring request throttling using a leaky bucket approach. It extends Yii2’s built-in RateLimiter by supporting multiple independent limits per action and identifier, plus built-in management of allowance/timestamp storage.

Key features:

  • Define multiple rate limit rules by controller action and identifiers (IP, user ID, combinations)
  • Customize responses: 429 Too Many Requests, Yii2 events, custom callables, and header output
  • Built-in storage/management of allowance and timestamp per limit
  • Configure custom rate-limit header prefixes (not fixed to X-Rate-Limit-)
  • Optional Retry-After header to guide client backoff
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport