alt-three/retry
alt-three/retry is a Laravel package for automatically retrying failed operations and queued jobs with configurable attempts and delays. It helps PHP applications handle transient errors gracefully and integrate retry logic cleanly into Laravel workflows.
$tries / $backoff / retryUntil, RateLimited job middleware, Bus::batch()->allowFailures(), Http::retry(), and the retry() helper. Buying an archived 2018 middleware to reimplement this is negative value: a dependency, a supply-chain entry, and a maintenance obligation for something you already have.Adoption criteria — deliberately very narrow:
Illuminate\Bus\Dispatcher command pipeline with SelfHandling-style commands.Look elsewhere when:
$tries / $backoff / retryUntil, RateLimited, and job middleware. No third-party dependency, no fork.Http::retry().Executives: "There's a small, abandoned library in one of our services that retried failed commands on an old Laravel version. It isn't a capability we should buy or keep — retry is native to the framework now. The real decision is whether the legacy service it lives in gets modernized or frozen. I'm asking for modernization budget, not a new dependency."
Engineering: "Don't adopt alt-three/retry. It targets Laravel 5's command pipeline, hasn't shipped since 2018, has zero dependents, and has no maintenance or security-response path. Treat it as a design reference only. Implement retries with native primitives — $tries / $backoff / retryUntil, RateLimited, Bus::batch()->allowFailures(), Http::retry(). If we're stuck on a 5.x service in the meantime: fork it, pin it, test it, and put a removal date on it. Either way we write the spec — attempt count, backoff, idempotency, and failure surfacing — because that spec outlives the package."
How can I help you explore Laravel packages today?