PHPackages                             kodefarmers/laravel-cadence - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. kodefarmers/laravel-cadence

ActiveLibrary[Caching](/categories/caching)

kodefarmers/laravel-cadence
===========================

Progressive, strategy-based backoff for Laravel.

v1.1.0(1mo ago)70MITPHPPHP ^8.4CI passing

Since Jul 17Pushed 1mo agoCompare

[ Source](https://github.com/kodefarmers/laravel-cadence)[ Packagist](https://packagist.org/packages/kodefarmers/laravel-cadence)[ Docs](https://github.com/kodefarmers/laravel-cadence)[ RSS](/packages/kodefarmers-laravel-cadence/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (18)Versions (5)Used By (0)

Cadence
=======

[](#cadence)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9c45dd5ba9e4fd03f4de66b5a793c1b473ff4b2bce1fb872e3f740d3d02003dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f64656661726d6572732f6c61726176656c2d636164656e63652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/kodefarmers/laravel-cadence)[![PHP Version](https://camo.githubusercontent.com/320ad8d62e1e10214eb18c9d68624689ed69ac32bd11481cedce0d61d141f3e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b6f64656661726d6572732f6c61726176656c2d636164656e63653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/kodefarmers/laravel-cadence)[![Tests](https://camo.githubusercontent.com/c064320229ab7d6d4344e9551107b2be814022617226ba83ab2c93c50e17dd73/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f64656661726d6572732f6c61726176656c2d636164656e63652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666f722d7468652d6261646765)](https://github.com/kodefarmers/laravel-cadence/actions/workflows/tests.yml)[![Static Analysis](https://camo.githubusercontent.com/1d78dcfd2248d4da2f4d868e5e48d50b64b7a69abb6c503050928bdda2b225ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f64656661726d6572732f6c61726176656c2d636164656e63652f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d7068707374616e267374796c653d666f722d7468652d6261646765)](https://github.com/kodefarmers/laravel-cadence/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/fd3503553c48fdc238a43a4e81f05476013d2a900ee72d9e72d31094aadf62de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f64656661726d6572732f6c61726176656c2d636164656e63653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/kodefarmers/laravel-cadence)

[![Cadence Banner](https://raw.githubusercontent.com/kodefarmers/laravel-cadence/refs/heads/main/assets/cadence-github-preview.png)](https://raw.githubusercontent.com/kodefarmers/laravel-cadence/refs/heads/main/assets/cadence-github-preview.png)

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
-------------

[](#documentation)

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

****

The documentation source files are maintained in the companion repository:

**[kodefarmers/laravel-cadence-guide](https://github.com/kodefarmers/laravel-cadence-guide)**

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

---

Contributing
------------

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance92

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

44d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/454fe2ab876ac122191e2c17774430f8879ab3f181d79efdd6832cfa1b260a6d?d=identicon)[shivajichalise](/maintainers/shivajichalise)

---

Top Contributors

[![shivajichalise](https://avatars.githubusercontent.com/u/33979290?v=4)](https://github.com/shivajichalise "shivajichalise (68 commits)")

---

Tags

backoffexponential-backofffibonacci-backofflaravellaravel-packagelinear-backoffquadratic-backoffretryretry-strategythrottlinglaravellaravel-packagecacheretrythrottlebackoffstrategyexponential backoffretry-strategycadencelaravel-cadencefibonacci-backofflinear-backoffquadratic-backoff

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kodefarmers-laravel-cadence/health.svg)

```
[![Health](https://phpackages.com/badges/kodefarmers-laravel-cadence/health.svg)](https://phpackages.com/packages/kodefarmers-laravel-cadence)
```

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

981179.2k2](/packages/awssat-laravel-visits)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

203613.6k10](/packages/swayok-alternative-laravel-cache)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

13920.8k](/packages/nexxai-laravel-cfcache)[dragon-code/laravel-cache

An improved interface for working with cache

7046.8k10](/packages/dragon-code-laravel-cache)[henzeb/laravel-cache-index

Flexible replacement for tags

1219.1k](/packages/henzeb-laravel-cache-index)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
