Weave 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

Laravel Rate Limited Job Middleware Laravel Package

spatie/laravel-rate-limited-job-middleware

Laravel job middleware to rate limit queued jobs. Allow a configurable number of jobs per second and automatically release throttled jobs for a delay. Easy to attach per job via middleware, with support for time-based attempts when rate limiting.

View on GitHub
Deep Wiki
Context7
2.9.0

Add Laravel 13 support

2.8.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.8.0...2.8.1

2.7.0
  • Add the option to pass a closure to determine if the job should release

Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.6.0...2.7.0

2.6.0
  • Add a new LimitExceeded event when the rate limit has exceeded which receives the $job

Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.5.0...2.6.0

2.5.0
2.4.1
  • Improve leaky bucket for our use case

Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.0...2.4.1

2.2.6
2.2.5
2.2.4
  • The cache rate limiter was using a limit in minutes instead of seconds

Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.3...2.2.4

2.2.1
2.2.0
2.1.1
  • Fix missing timeout on limiter
2.1.0
  • Improve the cache implementation using a leaky bucket rate limiter.
2.0.0
  • allow for a cache option + PHP 8 only + Pest (#32)

The API hasn't changed, so you could upgrade without having to change your code.

1.5.0
  • add support for PHP 8
1.4.1
  • add support for Laravel 8
1.4.0
  • add feature exponential back-off to release logic (#18)
1.3.0
  • add support for Laravel 7
1.2.0
  • add releaseAfterRandomSeconds
1.1.1
  • renamed parameter method releaseAfterMinutes (#13)
1.1.0
  • add release duration callback (#12)
1.0.0
  • initial release
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.
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera