laravel-cadence maintained by kodefarmers
Cadence

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.