zozlak / guzzle-proxy-client
A wrapper around GuzzleHttp Client honoring proxy settings in http_proxy, https_proxy and no_proxy environment variables
1.1.0
2025-06-06 16:19 UTC
Requires
- guzzlehttp/guzzle: >=6
Requires (Dev)
This package is auto-updated.
Last update: 2025-06-06 16:19:39 UTC
README
A tiny wrapper for the Guzzle Client applying proxy settings from the http_proxy
, https_proxy
and no_proxy
environment variables.
Installation
composer require zozlak/guzzle-proxy-client
Usage
// without Guzzle Client options $guzzleClient = \zozlak\ProxyClient::factory(); // with some Guzzle Client options $guzzleClient = \zozlak\ProxyClient::factory(['auth' => ['foo', 'bar']]);