PHPackages                             memdevs/attempt - 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. memdevs/attempt

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

memdevs/attempt
===============

A small library for attempting operations with graceful retries, based on an idea by igorw/retry

0.1(8y ago)0367MITPHPPHP &gt;=5.4

Since Jul 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/memdevs/attempt)[ Packagist](https://packagist.org/packages/memdevs/attempt)[ RSS](/packages/memdevs-attempt/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

```
This package will attempt to execute a function (closure or callable) until a set number of attempts have been made.

It will intercept exceptions (and store them for reporting) and enables you to have significant control over how the function is handled during error conditions.

It's great for access to remote URLs or databases where you risk experiencing failures.

Note, it relies on exceptions to detect "failure" which will cause another attempt.

For further information, please see the "examples" folder.

More info will come later.
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3271d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3821243b901a4d314cfefd7838eb735e2556047731529f96abc1a86b0a700704?d=identicon)[pokmot](/maintainers/pokmot)

---

Top Contributors

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

---

Tags

exceptionretryfailureattempt

### Embed Badge

![Health badge](/badges/memdevs-attempt/health.svg)

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

###  Alternatives

[pear/pear_exception

The PEAR Exception base class.

9885.4M122](/packages/pear-pear-exception)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2111.3M7](/packages/yireo-magento2-webp2)[eventsauce/backoff

Back-off strategy interface

70848.9k8](/packages/eventsauce-backoff)[vkartaviy/retry

The library for repeatable and retryable operations

29231.3k2](/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.

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

Simple backoff / retry functionality

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

PHPackages © 2026

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