zozlak/guzzle-proxy-client

A wrapper around GuzzleHttp Client honoring proxy settings in http_proxy, https_proxy and no_proxy environment variables

Installs: 851

Dependents: 12

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/zozlak/guzzle-proxy-client

1.1.0 2025-06-06 16:19 UTC

This package is auto-updated.

Last update: 2025-10-06 17:01:29 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']]);