PHPackages                             shpartko-packagist/guzzle-bundle-retry-plugin - 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. [Framework](/categories/framework)
4. /
5. shpartko-packagist/guzzle-bundle-retry-plugin

ActiveLibrary[Framework](/categories/framework)

shpartko-packagist/guzzle-bundle-retry-plugin
=============================================

Retry Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

1.0.0(2y ago)04MITPHPPHP ^7.3 || ^8.0

Since Aug 10Pushed 2y agoCompare

[ Source](https://github.com/shpartko/GuzzleBundleRetryPlugin)[ Packagist](https://packagist.org/packages/shpartko-packagist/guzzle-bundle-retry-plugin)[ Docs](https://github.com/EugenGanshorn/GuzzleBundleRetry)[ RSS](/packages/shpartko-packagist-guzzle-bundle-retry-plugin/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

GuzzleBundleRetryPlugin
=======================

[](#guzzlebundleretryplugin)

[![Build Status](https://camo.githubusercontent.com/3fb2ae37af31f2e4d6aa8744921dad82aaf198202f3706b4348c502cdf5a2f89/68747470733a2f2f7472617669732d63692e6f72672f457567656e47616e73686f726e2f47757a7a6c6542756e646c655265747279506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/EugenGanshorn/GuzzleBundleRetryPlugin)[![Coverage Status](https://camo.githubusercontent.com/3c660b75ff2346c4f909c570025c31c7ea7892dc41c8747f76856317a09616cc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f457567656e47616e73686f726e2f47757a7a6c6542756e646c655265747279506c7567696e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/EugenGanshorn/GuzzleBundleRetryPlugin?branch=master)

Requirements
------------

[](#requirements)

- PHP 7.3 or above
- [Guzzle Bundle](https://github.com/8p/EightPointsGuzzleBundle)
- [Guzzle Retry middleware](https://github.com/caseyamcl/guzzle_retry_middleware)

Installation
------------

[](#installation)

Using [composer](https://getcomposer.org/):

##### composer.json

[](#composerjson)

```
{
    "require": {
        "eugenganshorn/guzzle-bundle-retry-plugin": "^1.0"
    }
}
```

##### command line

[](#command-line)

```
$ composer require eugenganshorn/guzzle-bundle-retry-plugin
```

Usage
-----

[](#usage)

### Enable bundle

[](#enable-bundle)

#### Symfony 2.x and 3.x

[](#symfony-2x-and-3x)

Plugin will be activated/connected through bundle constructor in `app/AppKernel.php`, like this:

```
new EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle([
    new EugenGanshorn\Bundle\GuzzleBundleRetryPlugin\GuzzleBundleRetryPlugin(),
])
```

#### Symfony 4

[](#symfony-4)

The registration of bundles was changed in Symfony 4 and now you have to change `src/Kernel.php` to achieve the same functionality.
Find next lines:

```
foreach ($contents as $class => $envs) {
    if (isset($envs['all']) || isset($envs[$this->environment])) {
        yield new $class();
    }
}
```

and replace them by:

```
foreach ($contents as $class => $envs) {
    if (isset($envs['all']) || isset($envs[$this->environment])) {
        if ($class === \EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle::class) {
            yield new $class([
                new \EugenGanshorn\Bundle\GuzzleBundleRetryPlugin\GuzzleBundleRetryPlugin(),
            ]);
        } else {
            yield new $class();
        }
    }
}
```

### Basic configuration

[](#basic-configuration)

```
# app/config/config.yml // config/packages/eight_points_guzzle.yaml

eight_points_guzzle:
    clients:
        your_client:
            base_url: "http://api.domain.tld"

            # plugin settings
            plugin:
                retry:
                    ~
```

### Advanced configuration

[](#advanced-configuration)

See middleware options: [https://github.com/caseyamcl/guzzle\_retry\_middleware#options](https://github.com/caseyamcl/guzzle_retry_middleware#options)

License
-------

[](#license)

This middleware is licensed under the MIT License - see the LICENSE file for details

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.6% 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

1059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86044beda8b19d96cde873895189c63404f6d5ece853a151f2c4806057051822?d=identicon)[shpartko-packagist](/maintainers/shpartko-packagist)

---

Top Contributors

[![EugenGanshorn](https://avatars.githubusercontent.com/u/8372121?v=4)](https://github.com/EugenGanshorn "EugenGanshorn (24 commits)")[![j-shpartko-tqgg](https://avatars.githubusercontent.com/u/121946736?v=4)](https://github.com/j-shpartko-tqgg "j-shpartko-tqgg (3 commits)")[![mihaileu](https://avatars.githubusercontent.com/u/54336101?v=4)](https://github.com/mihaileu "mihaileu (3 commits)")[![sane4ek-2](https://avatars.githubusercontent.com/u/3489323?v=4)](https://github.com/sane4ek-2 "sane4ek-2 (3 commits)")[![ekosogin](https://avatars.githubusercontent.com/u/13533292?v=4)](https://github.com/ekosogin "ekosogin (1 commits)")[![Stollie](https://avatars.githubusercontent.com/u/1230903?v=4)](https://github.com/Stollie "Stollie (1 commits)")

---

Tags

httpmiddlewarepluginclientframeworkrestcurlhttp clientweb serviceretry

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/shpartko-packagist-guzzle-bundle-retry-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/shpartko-packagist-guzzle-bundle-retry-plugin/health.svg)](https://phpackages.com/packages/shpartko-packagist-guzzle-bundle-retry-plugin)
```

###  Alternatives

[gregurco/guzzle-bundle-oauth2-plugin

OAuth2 Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

13360.4k](/packages/gregurco-guzzle-bundle-oauth2-plugin)[gregurco/guzzle-bundle-cache-plugin

Cache Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

11400.9k1](/packages/gregurco-guzzle-bundle-cache-plugin)[eightpoints/guzzle-wsse-middleware

WSSE Middleware for Guzzle, a PHP HTTP client library and framework for building RESTful web service clients

312.1M5](/packages/eightpoints-guzzle-wsse-middleware)

PHPackages © 2026

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