PHPackages                             tenantcloud/guzzle-helper - 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. tenantcloud/guzzle-helper

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

tenantcloud/guzzle-helper
=========================

Guzzle helpers.

v2.0.1(10mo ago)134.8k↓30%6MITPHPPHP &gt;=8.3CI passing

Since Sep 1Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/tenantcloud/php-guzzle-helper)[ Packagist](https://packagist.org/packages/tenantcloud/guzzle-helper)[ RSS](/packages/tenantcloud-guzzle-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (11)Versions (11)Used By (6)

Guzzle helpers
==============

[](#guzzle-helpers)

Guzzle helpers. Add Header and Json obfuscators for guzzle middleware. Used for remove autorization headers and sensitive date from response logs.

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

[](#requirements)

- Guzzle &gt;=7
- PHP version &gt;=8.2
- Docker (optional)

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

[](#installation)

In your `composer.json`, add this repository:

```
"repositories": [
    {
        "type": "git",
        "url": "https://github.com/tenantcloud/guzzle-helpers"
    }
],

```

Then do `composer require tenantcloud/guzzle-helpers` to install the package.

Examples
--------

[](#examples)

```
	$stack = \GuzzleHttp\HandlerStack::create();

	// Return all response body.
	$stack->unshift(\TenantCloud\GuzzleHelper\GuzzleMiddleware\GuzzleMiddleware::fullErrorResponseBody());

	// Hide secret info from error responses (cut contactEmail, contactPhone keys).
	// Hide Authorization header
	$stack->unshift(\TenantCloud\GuzzleHelper\GuzzleMiddleware\GuzzleMiddleware::dumpRequestBody([
		new \TenantCloud\GuzzleHelper\GuzzleMiddleware\JsonObfuscator([
			'contactEmail',
			'contactPhone',
		]),
		new \TenantCloud\GuzzleHelper\GuzzleMiddleware\HeaderObfuscator(['Authorization']),
	]));

```

### Commands

[](#commands)

Install dependencies: `docker run -it --rm -v $PWD:/app -w /app composer install`

Run tests: `docker run -it --rm -v $PWD:/app -w /app php:7.4-cli vendor/bin/phpunit`

Run php-cs-fixer on self: `docker run -it --rm -v $PWD:/app -w /app composer cs-fix`

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance54

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~155 days

Recently: every ~182 days

Total

10

Last Release

320d ago

Major Versions

v1.6.0 → v2.0.02025-07-02

PHP version history (4 changes)1.0.0PHP &gt;=7.4 || ^8.0

v1.4.0PHP &gt;=8.1

v1.5.0PHP &gt;=8.2

v2.0.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/08f421d0127cd5dd06158a3ef66dee8fa7f6589677349c379be87c46d3acc99c?d=identicon)[tcmbilozub](/maintainers/tcmbilozub)

---

Top Contributors

[![KlebanAndrew](https://avatars.githubusercontent.com/u/6851969?v=4)](https://github.com/KlebanAndrew "KlebanAndrew (7 commits)")[![oprypkhantc](https://avatars.githubusercontent.com/u/54406427?v=4)](https://github.com/oprypkhantc "oprypkhantc (7 commits)")[![tcmbilozub](https://avatars.githubusercontent.com/u/35073636?v=4)](https://github.com/tcmbilozub "tcmbilozub (7 commits)")[![package-sync[bot]](https://avatars.githubusercontent.com/u/35073549?v=4)](https://github.com/package-sync[bot] "package-sync[bot] (5 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (2 commits)")

---

Tags

guzzlepackagephp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tenantcloud-guzzle-helper/health.svg)

```
[![Health](https://phpackages.com/badges/tenantcloud-guzzle-helper/health.svg)](https://phpackages.com/packages/tenantcloud-guzzle-helper)
```

###  Alternatives

[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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