PHPackages                             emag-tech-labs/guzzle-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. emag-tech-labs/guzzle-middleware

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

emag-tech-labs/guzzle-middleware
================================

Guzzle middlewares

v1.0.0(3y ago)065.0k5[1 issues](https://github.com/eMAGTechLabs/GuzzleMiddleware/issues)GPL-3.0-onlyPHPPHP ^7.2 | ^8.1CI failing

Since Nov 22Pushed 3y ago4 watchersCompare

[ Source](https://github.com/eMAGTechLabs/GuzzleMiddleware)[ Packagist](https://packagist.org/packages/emag-tech-labs/guzzle-middleware)[ RSS](/packages/emag-tech-labs-guzzle-middleware/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (5)Versions (17)Used By (0)

Guzzle Middleware
=================

[](#guzzle-middleware)

This is a Guzzle middleware, which allows you to profile an http call, and send information to statsd daemon.

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

[](#requirements)

### Dependencies

[](#dependencies)

DependencyVersion**`php`**^7.2 | ^8.1**`guzzlehttp/guzzle`**^6.0 | ^7.0**`liuggio/statsd-php-client`**^1.0**`slickdeals/statsd`**^2.0Installation
------------

[](#installation)

This library is installed via [`composer`](http://getcomposer.org).

```
composer require "emag-tech-labs/guzzle-middleware"
```

Usage
-----

[](#usage)

The package is able to work with 2 different statsd libraries, illugio or dominikl. Based on you're choice you will have to use the right adapter (DominikAdapter or IlugioAdapter) in order to instantiate the statsd client.

Example
-------

[](#example)

```
$statsdClient = new DominikAdapter($dominikStatsdClient);
$handlerStack = new HandlerStack();
$handlerStack->push(new TimingProfiler($statsdClient));
$handlerStack->push(new HttpCodeProfiler($statsdClient));

$client = new Client(['handler' => $handlerStack]);
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity75

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 ~84 days

Recently: every ~289 days

Total

15

Last Release

1231d ago

Major Versions

v0.3.0 → v1.0.02023-02-17

PHP version history (2 changes)0.2.10PHP ^7.2

v0.3.0PHP ^7.2 | ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/26203170b46d4c68e42cb93ea3f425ef3ab6f095912f53bbb95f2a653a3ba618?d=identicon)[mihaileu](/maintainers/mihaileu)

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

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

---

Top Contributors

[![alexandrupetcu](https://avatars.githubusercontent.com/u/58072216?v=4)](https://github.com/alexandrupetcu "alexandrupetcu (8 commits)")[![mihaileu](https://avatars.githubusercontent.com/u/54336101?v=4)](https://github.com/mihaileu "mihaileu (8 commits)")[![andreea-anamaria](https://avatars.githubusercontent.com/u/56888785?v=4)](https://github.com/andreea-anamaria "andreea-anamaria (5 commits)")[![beniamin](https://avatars.githubusercontent.com/u/811812?v=4)](https://github.com/beniamin "beniamin (1 commits)")[![BlueTM](https://avatars.githubusercontent.com/u/662454?v=4)](https://github.com/BlueTM "BlueTM (1 commits)")[![mihai-amihailesei](https://avatars.githubusercontent.com/u/14997341?v=4)](https://github.com/mihai-amihailesei "mihai-amihailesei (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/emag-tech-labs-guzzle-middleware/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[spatie/crawler

Crawl all internal links found on a website

2.8k18.5M65](/packages/spatie-crawler)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M189](/packages/guzzlehttp-guzzle-services)

PHPackages © 2026

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