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

ActiveLibrary

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 4d 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 32% 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

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

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[facade/flare-client-php

Send PHP errors to Flare

51899.9M4](/packages/facade-flare-client-php)[spatie/flare-client-php

Send PHP errors to Flare

177148.0M15](/packages/spatie-flare-client-php)[pear/pear_exception

The PEAR Exception base class.

9880.2M101](/packages/pear-pear-exception)[caseyamcl/guzzle_retry_middleware

Guzzle v6+ retry middleware that handles 429/503 status codes and connection timeouts

21610.7M64](/packages/caseyamcl-guzzle-retry-middleware)

PHPackages © 2026

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