PHPackages                             nsleta/exponential\_backoff - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nsleta/exponential\_backoff

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nsleta/exponential\_backoff
===========================

v1.0.1(4y ago)451MITPHPPHP &gt;=7.1

Since Nov 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nsleta/exponential_backoff)[ Packagist](https://packagist.org/packages/nsleta/exponential_backoff)[ Docs](https://github.com/nsleta/exponential_backoff)[ RSS](/packages/nsleta-exponential-backoff/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Exponential backoff
===================

[](#exponential-backoff)

Installation
------------

[](#installation)

```
composer require nsleta/exponential_backoff

```

Usage
-----

[](#usage)

```
    $retry = new ExponentialBackoff\Retry();
    $retry->setInterval(3000); // optional, default interval is 2000
    $retry->setMaxAttempts(2); // optional, default max attempts is 3
    $result = $retry->call(function() { return 'done'; }, [RuntimeException::class]);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~15 days

Total

2

Last Release

1626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e12da67f9e24645847c5e1b54cf30cf2162a2f55c0236a9e8075560e8ab6622b?d=identicon)[Nikolai](/maintainers/Nikolai)

---

Top Contributors

[![lrrrrrrrr](https://avatars.githubusercontent.com/u/6883788?v=4)](https://github.com/lrrrrrrrr "lrrrrrrrr (4 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

retryexponentialbackoff

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nsleta-exponential-backoff/health.svg)

```
[![Health](https://phpackages.com/badges/nsleta-exponential-backoff/health.svg)](https://phpackages.com/packages/nsleta-exponential-backoff)
```

###  Alternatives

[vkartaviy/retry

The library for repeatable and retryable operations

29227.2k2](/packages/vkartaviy-retry)[tobion/retry

A generic library to retry an operation in case of an error. You can configure the behavior like the exceptions to retry on.

16396.8k](/packages/tobion-retry)[yriveiro/php-backoff

Simple backoff / retry functionality

2675.1k1](/packages/yriveiro-php-backoff)

PHPackages © 2026

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