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 today

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 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity74

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

1179d 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://www.gravatar.com/avatar/39eb00e570469bdff93ae4a0d6aa3fe6698d443e622c36784cfb5aded8ee9019?d=identicon)[emagtechlabsadmin](/maintainers/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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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