NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #358 most downloaded on Packagist
Provides a Token Bucket implementation to rate limit input and output in your application
Latest stable
v8.1.11
Last release 10 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
167 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Changelog ( v8.2.0-BETA1...v8.2.0-BETA2 )
Changelog (v8.2.0-BETA1...v8.2.0-BETA2)
RateLimit::wait() for delays over 35 minutes on 32-bit platforms (@nicolas-grekas)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog ( v8.1.11...v8.2.0-BETA1 )
Changelog (v8.1.11...v8.2.0-BETA1)
RateLimit::getResetAt() being up to one second early (@nicolas-grekas)getTimestamp() and getMicrosecond() instead of formatting dates to read their timestamp (@nicolas-grekas)DateTimeImmutable::createFromTimestamp() to build dates from timestamps (@nicolas-grekas)X-RateLimit-* headers for the # attribute (@ayyoub-afwallah)RateLimiterBuilder (@kbond)Changelog ( v8.1.10...v8.1.11 )
Changelog (v8.1.10...v8.1.11)
[SECURITY] Security release
bug #67204 Fix early retry and expiry times, and three consume() edge cases ( @nicolas-grekas )
Changelog (v8.1.6...v8.1.10)
[SECURITY] Security release
bug #65747 Cap the burst size and the duration computed from it ( @cs278 , @nicolas-grekas )
Changelog (v8.1.4...v8.1.6)
bug #65193 Cap the burst size and the duration computed from it (@cs278)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.1...v8.1.4)
minor #64476 Unsafe unserialize phpstan rule (@jack-worman)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.0...v8.1.1)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.0-RC1...v8.1.0) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.0-RC1...v8.1.0)
$anchorAt argument to FixedWindowLimiter to align the window to a calendar reference datetime instead of the first hitbug #64343 Harden __unserialize against __toString trampolines (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.0-BETA3...v8.1.0-RC1)
bug #64294 Harden calendar-aligned fixed window mode (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.1.0-BETA1...v8.1.0-BETA3)
bug #64343 Harden __unserialize against __toString trampolines (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.13...v8.1.0-BETA1)
minor #64476 Unsafe unserialize phpstan rule (@jack-worman)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.13...v8.0.14)
bug #64343 Harden __unserialize against __toString trampolines (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.10...v8.0.13)
bug #64095 Carry over reserved tokens past fixed window resets (@ousamabenyounes)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.9...v8.0.10)
bug #63996 Keep token bucket alive while reservation debt is unpaid (@ousamabenyounes)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.7...v8.0.9)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.7...v8.0.8) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.7...v8.0.8)
bug #63550 Prevent negative token from causing integer underflow (@jhogervorst)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.6...v8.0.7)
bug #63492 Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket (@ERuban)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.5...v8.0.6)
retryAfter when consuming exactly all remaining tokens in SlidingWindow (@ERuban)bug #63170 Persist state when consuming negative tokens (@jhogervorst)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.4...v8.0.5)
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.3...v8.0.4) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v8.0.3...v8.0.4)
Nothing published for this version
Nothing published for this version
feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.4...v8.0.0-BETA1)
Changelog ( v7.4.22...v7.4.23 )
Changelog (v7.4.22...v7.4.23)
[SECURITY] Security release
Changelog ( v7.4.18...v7.4.22 )
Changelog (v7.4.18...v7.4.22)
[SECURITY] Security release
bug #65747 Cap the burst size and the duration computed from it (@cs278, @nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.16...v7.4.18)
bug #65193 Cap the burst size and the duration computed from it (@cs278)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.14...v7.4.16)
minor #64476 Unsafe unserialize phpstan rule (@jack-worman)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.13...v7.4.14)
bug #64343 Harden __unserialize against __toString trampolines (@nicolas-grekas)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.10...v7.4.13)
bug #64095 Carry over reserved tokens past fixed window resets (@ousamabenyounes)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.9...v7.4.10)
bug #63996 Keep token bucket alive while reservation debt is unpaid (@ousamabenyounes)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.7...v7.4.9)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.7...v7.4.8) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.7...v7.4.8)
bug #63550 Prevent negative token from causing integer underflow (@jhogervorst)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.6...v7.4.7)
bug #63492 Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket (@ERuban)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.5...v7.4.6)
retryAfter when consuming exactly all remaining tokens in SlidingWindow (@ERuban)bug #63170 Persist state when consuming negative tokens (@jhogervorst)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.4...v7.4.5)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.3...v7.4.4) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.3...v7.4.4)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.0-RC3...v7.4.0) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.0-RC3...v7.4.0)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.0-BETA2...v7.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.4.0-BETA2...v7.4.0-RC1)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.4...v7.4.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.4...v7.4.0-BETA1)
bug #63170 Persist state when consuming negative tokens (@jhogervorst)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.10...v7.3.11)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.9...v7.3.10) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.9...v7.3.10)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.1...v7.3.2) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.1...v7.3.2)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.0-RC1...v7.3.0)
RateLimiterFactoryInterfaceCompoundRateLimiterFactoryChangelog (https://github.com/symfony/rate-limiter/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.3.0-BETA2...v7.3.0-RC1)
feature symfony/symfony#59618 [OptionsResolver] Deprecate defining nested options via setDefault() use setOptions() instead (@yceruto)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.6...v7.3.0-BETA1)
CompoundRateLimiterFactory (@kbond)setDefault() use setOptions() instead (@yceruto)RateLimiterFactoryInterface (@alexandre-daubois)Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.8...v7.2.9) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.8...v7.2.9)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.0-RC1...v7.2.0) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.0-RC1...v7.2.0)
Nothing published for this version
bug symfony/symfony#58757 [RateLimiter] Fix DateInterval normalization (@danydev)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.2.0-BETA1...v7.2.0-BETA2)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.6...v7.2.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.6...v7.2.0-BETA1)
bug symfony/symfony#58601 [RateLimiter] Fix bucket size reduced when previously created with bigger size (@Orkin)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.7...v7.1.8)
bug symfony/symfony#58757 [RateLimiter] Fix DateInterval normalization (@danydev)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.6...v7.1.7)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.5...v7.1.6) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.5...v7.1.6)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0...v7.1.1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0...v7.1.1)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0-RC1...v7.1.0) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0-RC1...v7.1.0)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0-BETA1...v7.1.0-RC1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.1.0-BETA1...v7.1.0-RC1)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.7...v7.1.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.7...v7.1.0-BETA1)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.7...v7.0.8) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.7...v7.0.8)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.6...v7.0.7) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.6...v7.0.7)
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.2...v7.0.3) * no significant changes
Changelog (https://github.com/symfony/rate-limiter/compare/v7.0.2...v7.0.3)
One column per quarter.