kodefarmers/laravel-cadence

Progressive, strategy-based backoff for Laravel.

Maintainers

Package info

github.com/kodefarmers/laravel-cadence

pkg:composer/kodefarmers/laravel-cadence

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 0

v1.1.0 2026-07-19 10:25 UTC

This package is auto-updated.

Last update: 2026-07-25 07:01:54 UTC


README

Latest Version on Packagist PHP Version Tests Static Analysis Total Downloads

Cadence Banner

Cadence is a Laravel package for applying progressive backoff based on consecutive failures.

Unlike traditional rate limiting, Cadence only introduces delays after repeated failed attempts. A successful operation immediately resets the backoff state, allowing normal traffic to continue uninterrupted while slowing down repeated failures.

  • Track repeated failures on a per-key basis
  • Apply progressive backoff after configurable free attempts
  • Multiple built-in backoff strategies (Exponential, Fibonacci, Linear, Quadratic)
  • Optional jitter algorithms to distribute retries and reduce synchronized retry bursts
  • Reset backoff immediately after successful operations
  • Store state using Laravel's cache abstraction

Documentation

For the full installation guide, configuration reference, usage examples, API documentation, and step-by-step walkthroughs, visit:

https://cadence.kodefarmers.tech

The documentation source files are maintained in the companion repository:

kodefarmers/laravel-cadence-guide

Contributors can use the repository to review, edit, and improve the documentation.

Contributing

Contributions are welcome. Please open an issue to discuss significant changes before submitting a pull request.

License

Cadence is open-source software licensed under the MIT License.