cline / retry
Comprehensive retry strategies with exponential backoff, jitter, and circuit breaker support for PHP 8.4+
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cline/retry
Requires
- php: ^8.5.0
- spatie/laravel-package-tools: ^1.92.7
Requires (Dev)
- cline/coding-standard: ^1.5.7
- ergebnis/composer-normalize: ^2.48.2
- orchestra/testbench: ^10.8
- pestphp/pest: ^4.1.6
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0.3
- symfony/var-dumper: ^7.4.0
README
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
Requires PHP 8.4+
Installation
composer require cline/retry
Documentation
- Getting Started - Installation and basic usage
- Functional API - Using the
retry()function - OOP API - Fluent interface with conditional retries
- Backoff Strategies - All 8 backoff algorithms
- Configuration - Laravel config options
- Examples - Real-world usage patterns
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.