PackageTrack
Sign in Get early access

spatie/laravel-rate-limited-job-middleware

A middleware that can rate limit jobs

2.9.0 4.7M downloads/mo #1843 most downloaded on Packagist spatie/laravel-rate-limited-job-middleware

What this package is like to depend on

Last release 5 months ago

25 Feb 2026

Ships fairly regularly

a new release about every 3 months

Most releases are documented

notes for 29 of 34 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

34 releases · first in 2019

2 releases in the last 12 months

see the full history below

Release timeline

34 releases · Sep 2019 to Feb 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 2.9.0 25 Feb 2026
    Release notes

    Add Laravel 13 support

    Open source →
  2. 2.8.2 25 Nov 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.8.1...2.8.2

    Open source →
    Release notes

    What's Changed

    • Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/61
    • Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/63

    New Contributors

    • @AlexVanderbist made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/61
    • @thecaliskan made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/63

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

    Open source →
  3. 2.8.1 19 Aug 2025
    Release notes

    What's Changed

    • LimitExceeded event type-hints ShouldQueue but queued Mailables are wrapped in SendQueuedMailable by @rogerio-pereira in #60

    New Contributors

    Full Changelog: 2.8.0...2.8.1

    Open source →
    Release notes

    What's Changed

    • LimitExceeded event type-hints ShouldQueue but queued Mailables are wrapped in SendQueuedMailable by @rogerio-pereira in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/60

    New Contributors

    • @rogerio-pereira made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/60

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

    Open source →
  4. 2.8.0 21 Feb 2025
    Release notes

    What's Changed

    Full Changelog: 2.7.0...2.8.0

    Open source →
    Release notes

    What's Changed

    • Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/58

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

    Open source →
  5. 2.7.0 07 Sep 2024
    Release notes
    • Add the option to pass a closure to determine if the job should release

    Full Changelog: 2.6.0...2.7.0

    Open source →
    Release notes
    • 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

    Open source →
  6. 2.6.0 29 Jul 2024
    Release notes
    • Add a new LimitExceeded event when the rate limit has exceeded which receives the $job

    Full Changelog: 2.5.0...2.6.0

    Open source →
    Release notes
    • 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

    Open source →
  7. 2.5.0 27 May 2024
    Release notes
    • Use artisansdk/ratelimiter again

    Full Changelog: 2.4.3...2.5.0

    Open source →
    Release notes
    • Use artisansdk/ratelimiter again

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

    Open source →
  8. 2.4.3 27 May 2024
    Release notes

    Full Changelog: 2.4.2...2.4.3

    Open source →
    Release notes

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

    Open source →
  9. 2.4.2 27 May 2024
    Release notes
    • Initialize bucket with a timer

    Full Changelog: 2.4.1...2.4.2

    Open source →
    Release notes
    • Initialize bucket with a timer

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

    Open source →
  10. 2.4.1 08 May 2024
    Release notes
    • Improve leaky bucket for our use case

    Full Changelog: 2.4.0...2.4.1

    Open source →
    Release notes
    • 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

    Open source →
  11. 2.4.0 14 Mar 2024
    Release notes

    What's Changed

    • Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/55
    • Use our own LeakyBucket class

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

    Open source →
  12. 2.3.0 19 Jun 2023
    Release notes

    What's Changed

    • Add ->dontRelease() method by @ralphjsmit in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/48

    New Contributors

    • @ralphjsmit made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/48

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

    Open source →
  13. 2.2.7 06 Feb 2023
    Release notes

    What's Changed

    • Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/42
    • Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/43

    New Contributors

    • @patinthehat made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/42
    • @laravel-shift made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/43

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

    Open source →
  14. 2.2.6 02 Nov 2022
    Release notes
    • Fix implicit float to int casting

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

    Open source →
  15. 2.2.5 17 Aug 2022
    Release notes
    • Use v1 of artisansdk/ratelimiter

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

    Open source →
  16. 2.2.4 15 Aug 2022
    Release notes
    • 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

    Open source →
  17. 2.2.3 07 Aug 2022
    Release notes

    What's Changed

    • Changed method return type to static by @Sammyjo20 in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/39

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

    Open source →
  18. 2.2.2 06 Aug 2022
    Release notes

    What's Changed

    • Allow release logic to be easily extended by @Sammyjo20 in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/38

    New Contributors

    • @Sammyjo20 made their first contribution in https://github.com/spatie/laravel-rate-limited-job-middleware/pull/38

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

    Open source →
  19. 2.2.1 18 Apr 2022

    Nothing published for this version

  20. 2.2.0 12 Jan 2022

    Nothing published for this version

  21. 2.1.1 07 Oct 2021
    Release notes
    • Fix missing timeout on limiter
    Open source →
  22. 2.1.0 07 Oct 2021
    Release notes
    • Improve the cache implementation using a leaky bucket rate limiter.
    Open source →
  23. 2.0.0 15 Sep 2021
    Release notes
    • 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.

    Open source →
  24. 1.5.0 27 Nov 2020
    Release notes
    • add support for PHP 8
    Open source →
  25. 1.4.1 08 Sep 2020
    Release notes
    • add support for Laravel 8
    Open source →
  26. 1.4.0 29 May 2020
    Release notes
    • add feature exponential back-off to release logic (#18)
    Open source →
  27. 1.3.0 02 Mar 2020
    Release notes
    • add support for Laravel 7
    Open source →
  28. 1.2.0 17 Oct 2019
    Release notes
    • add releaseAfterRandomSeconds
    Open source →
  29. 1.1.1 14 Oct 2019
    Release notes
    • renamed parameter method releaseAfterMinutes (#13)
    Open source →
  30. 1.1.0 14 Oct 2019
    Release notes
    • add release duration callback (#12)
    Open source →
  31. 1.0.0 04 Oct 2019
    Release notes
    • initial release
    Open source →
  32. 0.0.3 02 Oct 2019

    Nothing published for this version

  33. 0.0.2 29 Sep 2019

    Nothing published for this version

  34. 0.0.1 28 Sep 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive