Registry / http-client / php-http-logger-plugin

php-http-logger-plugin

JSON →
library1.5.0phppackagistunverified

PSR-3 Logger plugin for HTTPlug, allowing logging of HTTP requests and responses.

composer require php-http/logger-plugin
INSTALL
IMPORT
SIG · PHP-HTTP-LOGGER-PL
P
php-http-logger-plugin
http-clientphpv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LoggerPlugin
use Http\Client\Plugin\LoggerPlugin;

Creates a LoggerPlugin instance with a PSR-3 logger and message formatter.

use Http\Client\Plugin\LoggerPlugin; use Http\Message\Formatter\FullHttpMessageFormatter; use Psr\Log\NullLogger; $logger = new NullLogger(); $formatter = new FullHttpMessageFormatter(); $plugin = new LoggerPlugin($logger, $formatter);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
php-http-logger-plugin — pip install php-http-logger-plugin · libregistry