PHPackages                             edr/http-logging-client - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. edr/http-logging-client

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

edr/http-logging-client
=======================

Logs to a PSR3-compliant logger when requests/responses are sent through an httplug HTTP client

052PHP

Since Aug 25Pushed 9y ago3 watchersCompare

[ Source](https://github.com/edigitalresearch/http-logging-client)[ Packagist](https://packagist.org/packages/edr/http-logging-client)[ RSS](/packages/edr-http-logging-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

logging-http-client
===================

[](#logging-http-client)

An [HTTPlug](http://httplug.io/) client that logs to a [PSR3](http://www.php-fig.org/psr/psr-3/) logger.

This performs the same function as the [HTTPlug plugin](http://docs.php-http.org/en/latest/plugins/logger.html). This can be used as an alternative if you need more control of the logging options.

Example usage with [Guzzle](http://docs.guzzlephp.org/en/latest/) and [Monolog](https://github.com/Seldaek/monolog):

```
$client = new \edr\LoggingHttpClient\LoggingHttpClient(
    new \Http\Adapter\Guzzle6\Client(new \GuzzleHttp\Client()),
    new \Monolog\Logger('debug', new \Monolog\Handler\StreamHandler('/tmp/debug.log')),
    new \edr\LoggingHttpClient\DiactorosFormatter()
);

$client->sendRequest( ... );
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/167bde25508297d65ef8aa26f5e34b36f6e914b4b19f65ae710748a2d3d30b6f?d=identicon)[maru\[edr](/maintainers/maru[edr)

### Embed Badge

![Health badge](/badges/edr-http-logging-client/health.svg)

```
[![Health](https://phpackages.com/badges/edr-http-logging-client/health.svg)](https://phpackages.com/packages/edr-http-logging-client)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M317](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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