gousto/replay (packagist): Replay comes in allowing you to plan re-tries and fallbacks strategies for your functions.
Keywords: php|retry-library|retry-strategies