PHPackages                             cline/retry - 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. cline/retry

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

cline/retry
===========

Comprehensive retry strategies with exponential backoff, jitter, and circuit breaker support for PHP 8.4+

2.0.2(2mo ago)00MITPHPPHP ^8.5.0CI passing

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/retry)[ Packagist](https://packagist.org/packages/cline/retry)[ RSS](/packages/cline-retry/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (7)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/retry/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/retry/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/a933f65050f70f42ff516092a7bda21e35ea7e7793dd6a02fe5c73f6a8c52eaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f72657472792e737667)](https://packagist.org/packages/cline/retry)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/341da3d8ce4d7f60d9285a68bb38afaaca15f14c16ad4e2c1eeeea91845744e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f72657472792e737667)](https://packagist.org/packages/cline/retry)

---

A comprehensive retry library for PHP 8.4+ featuring multiple backoff strategies, jitter support, and a fluent interface for building resilient applications. Designed for handling transient failures in network requests, database operations, and external service calls.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

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

[](#installation)

```
composer require cline/retry
```

Documentation
-------------

[](#documentation)

- **[Getting Started](https://docs.cline.sh/retry/getting-started/)** - Installation and basic usage
- **[Functional API](https://docs.cline.sh/retry/functional-api/)** - Using the `retry()` function
- **[OOP API](https://docs.cline.sh/retry/oop-api/)** - Fluent interface with conditional retries
- **[Backoff Strategies](https://docs.cline.sh/retry/backoff-strategies/)** - All 8 backoff algorithms
- **[Configuration](https://docs.cline.sh/retry/configuration/)** - Laravel config options
- **[Examples](https://docs.cline.sh/retry/examples/)** - Real-world usage patterns

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/retry/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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 ~27 days

Total

6

Last Release

60d ago

Major Versions

1.1.0 → 2.0.02026-03-04

PHP version history (2 changes)1.0.0PHP ^8.4.0

1.1.0PHP ^8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (9 commits)")

---

Tags

phpretryJittercircuit breakerbackoffresilienceexponential backoff

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/cline-retry/health.svg)

```
[![Health](https://phpackages.com/badges/cline-retry/health.svg)](https://phpackages.com/packages/cline-retry)
```

###  Alternatives

[yriveiro/php-backoff

Simple backoff / retry functionality

2675.1k1](/packages/yriveiro-php-backoff)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[vkartaviy/retry

The library for repeatable and retryable operations

29227.2k2](/packages/vkartaviy-retry)[gabrielanhaia/laravel-circuit-breaker

Laravel integration for PHP Circuit Breaker — multiple storage drivers, middleware, Artisan commands, and event system

481.0k](/packages/gabrielanhaia-laravel-circuit-breaker)[tonegabes/filament-better-options

Filament form components for better radio and checkbox options.

155.2k](/packages/tonegabes-filament-better-options)

PHPackages © 2026

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