PHPackages                             tony-sol/retryer - 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. tony-sol/retryer

ActiveLibrary

tony-sol/retryer
================

Simple retryer

v1.1.1(3y ago)13[2 PRs](https://github.com/Tony-Sol/Retryer/pulls)MITPHPPHP &gt;=8.1.0CI passing

Since May 29Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/Tony-Sol/Retryer)[ Packagist](https://packagist.org/packages/tony-sol/retryer)[ RSS](/packages/tony-sol-retryer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

Retryer
=======

[](#retryer)

Simple retryer

Usage:

```
	$result = (new \Retryer\Retryer())
		/** @var callable $action Execute some action */
		->do($action)
		/** @var int $N N times, 1 by default */
		->times($N)
		/** @var int $T with delay T ms between iterations, 0 by default */
		->withDelay($T)
		/** @var bool $isOn = true use exponential backoff between iterations */
		->useExponentialBackoff($isOn) //
		/** @var float $M use linear backoff M multiplier */
		->useLinearBackoffMultiplier($M) //
		/** @note use can use only linear or exponential backoff, by default backoff is constant and equals to T */
		/** @var string[] $exceptions Array of exceptions' FQCN which may interrupt execution */
		->withBreakingExceptions($exceptions)
		/** @note throw exception on last try if failed */
		->throwExceptionOnLastTry()
		->execute();
```

Disclaimer
----------

[](#disclaimer)

All information and source code are provided AS-IS, without express or implied warranties. Use of the source code or parts of it is at your sole discretion and risk. Citymobil LLC takes reasonable measures to ensure the relevance of the information posted in this repository, but it does not assume responsibility for maintaining or updating this repository or its parts outside the framework established by the company independently and without notifying third parties.

Вся информация и исходный код предоставляются в исходном виде, без явно выраженных или подразумеваемых гарантий. Использование исходного кода или его части осуществляются исключительно по вашему усмотрению и на ваш риск. Компания ООО "Ситимобил" принимает разумные меры для обеспечения актуальности информации, размещенной в данном репозитории, но она не принимает на себя ответственности за поддержку или актуализацию данного репозитория или его частей вне рамок, устанавливаемых компанией самостоятельно и без уведомления третьих лиц.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~83 days

Total

4

Last Release

1192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab83463a1359bfac1e0ce7467dcd96d0033420a7aa42f6f37355312336037657?d=identicon)[Tony-Sol](/maintainers/Tony-Sol)

---

Top Contributors

[![tony-sol](https://avatars.githubusercontent.com/u/33671815?v=4)](https://github.com/tony-sol "tony-sol (5 commits)")[![inshopper](https://avatars.githubusercontent.com/u/33682098?v=4)](https://github.com/inshopper "inshopper (1 commits)")

---

Tags

phpretryer

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tony-sol-retryer/health.svg)

```
[![Health](https://phpackages.com/badges/tony-sol-retryer/health.svg)](https://phpackages.com/packages/tony-sol-retryer)
```

PHPackages © 2026

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