PHPackages                             softonic/guzzle-proxybonanza-middleware - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. softonic/guzzle-proxybonanza-middleware

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

softonic/guzzle-proxybonanza-middleware
=======================================

This package allows you to use proxybonanza transparently in guzzle.

0.0.1(7y ago)0290Apache-2.0PHPPHP &gt;=7.1

Since Aug 6Pushed 6y ago3 watchersCompare

[ Source](https://github.com/softonic/guzzle-proxybonanza-middleware)[ Packagist](https://packagist.org/packages/softonic/guzzle-proxybonanza-middleware)[ Docs](https://github.com/softonic/guzzle-proxybonanza-middleware)[ RSS](/packages/softonic-guzzle-proxybonanza-middleware/feed)WikiDiscussions master Synced yesterday

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

DEPRECATED
==========

[](#deprecated)

Deprecated in favor of [softonic/guzzle-proxy-middleware](https://github.com/softonic/guzzle-proxy-middleware). The new package allows any proxy instead of just proxybonanza.

Guzzle Proxy Bonanza Middleware
===============================

[](#guzzle-proxy-bonanza-middleware)

[![Latest Version](https://camo.githubusercontent.com/0d6c1714d98849e73c9d6ce20a15b2360dda6dfda00ac6e970f600c117c85dca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736f66746f6e69632f67757a7a6c652d70726f7879626f6e616e7a612d6d6964646c65776172652e7376673f7374796c653d666c61742d737175617265)](https://github.com/softonic/guzzle-proxybonanza-middleware/releases)[![Software License](https://camo.githubusercontent.com/36cfc741510e076bec951c1421a2b1c3a5553e953fcdb378339626a5f33c1e8d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ec07249454d38813a6630ec491112a7445ce0a79811347a9e271caeb73d6943f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736f66746f6e69632f67757a7a6c652d70726f7879626f6e616e7a612d6d6964646c65776172652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/softonic/guzzle-proxybonanza-middleware)[![Total Downloads](https://camo.githubusercontent.com/b6e09b414c44408cdeb4350d7dd96fe2fc0bc911450ef15e858c3f6218b62ddd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f66746f6e69632f67757a7a6c652d70726f7879626f6e616e7a612d6d6964646c65776172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softonic/guzzle-proxybonanza-middleware)

This package provides middleware for [guzzle](https://github.com/guzzle/guzzle/) for handling proxy connection using [proxy bonanza](https://proxybonanza.com).

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

[](#installation)

To install, use composer:

```
composer require softonic/guzzle-proxybonanza-middleware

```

Usage
-----

[](#usage)

To use this middleware, you need to initialize it like:

```
$proxyManager = new ProxyManager(
    new Proxy(
        new GuzzleClient(),
        $cache, // A PSR-6 item pool cache.
        '',
        ''
));
```

And inject it to Guzzle with somethine like:

```
$stack = new HandlerStack();
$stack->setHandler(new CurlHandler());
$stack->push($proxyManager);
$guzzleClient = new GuzzleClient(['handler' => $stack]);
```

From now on every request sent with `$guzzleClient` will be done using a random proxy from your proxy list.

Testing
-------

[](#testing)

`softonic/guzzle-proxybonanza-middleware` has a [PHPUnit](https://phpunit.de) test suite and a coding style compliance test suite using [PHP CS Fixer](http://cs.sensiolabs.org/).

To run the tests, run the following command from the project folder.

```
$ docker-compose run test
```

To run interactively using [PsySH](http://psysh.org/):

```
$ docker-compose run psysh
```

License
-------

[](#license)

The Apache 2.0 license. Please see [LICENSE](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

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

2837d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/524887?v=4)[Joskfg](/maintainers/Joskfg)[@joskfg](https://github.com/joskfg)

![](https://www.gravatar.com/avatar/a0d32fbf2a47dc28c1935adfc1c79c50d4b728eba55825377e549e934f1003a0?d=identicon)[devsoftonic](/maintainers/devsoftonic)

---

Top Contributors

[![josemanuel-cardona](https://avatars.githubusercontent.com/u/196229448?v=4)](https://github.com/josemanuel-cardona "josemanuel-cardona (2 commits)")[![joskfg](https://avatars.githubusercontent.com/u/524887?v=4)](https://github.com/joskfg "joskfg (2 commits)")

---

Tags

middlewareproxyGuzzleproxybonanza

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/softonic-guzzle-proxybonanza-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/softonic-guzzle-proxybonanza-middleware/health.svg)](https://phpackages.com/packages/softonic-guzzle-proxybonanza-middleware)
```

###  Alternatives

[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[caseyamcl/guzzle_retry_middleware

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

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

Guzzle middleware to log requests and responses

842.3M17](/packages/rtheunissen-guzzle-log-middleware)[eljam/guzzle-jwt-middleware

A jwt authentication middleware for guzzle 6

28722.5k3](/packages/eljam-guzzle-jwt-middleware)[rtheunissen/guzzle-rate-limiter

Guzzle 6 middleware used to delay requests dynamically

52177.2k1](/packages/rtheunissen-guzzle-rate-limiter)[softonic/guzzle-oauth2-middleware

Guzzle middleware with OAuth2 integration

103.6M5](/packages/softonic-guzzle-oauth2-middleware)

PHPackages © 2026

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