Download the PHP package softonic/guzzle-proxybonanza-middleware without Composer
On this page you can find all versions of the php package softonic/guzzle-proxybonanza-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softonic/guzzle-proxybonanza-middleware
More information about softonic/guzzle-proxybonanza-middleware
Files in softonic/guzzle-proxybonanza-middleware
Package guzzle-proxybonanza-middleware
Short Description This package allows you to use proxybonanza transparently in guzzle.
License Apache-2.0
Homepage https://github.com/softonic/guzzle-proxybonanza-middleware
Informations about the package guzzle-proxybonanza-middleware
DEPRECATED
Deprecated in favor of softonic/guzzle-proxy-middleware. The new package allows any proxy instead of just proxybonanza.
Guzzle Proxy Bonanza Middleware
This package provides middleware for guzzle for handling proxy connection using proxy bonanza.
Installation
To install, use composer:
Usage
To use this middleware, you need to initialize it like:
And inject it to Guzzle with somethine like:
From now on every request sent with $guzzleClient
will be done using a random proxy from your proxy list.
Testing
softonic/guzzle-proxybonanza-middleware
has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer.
To run the tests, run the following command from the project folder.
To run interactively using PsySH:
License
The Apache 2.0 license. Please see LICENSE for more information.