geekdevs / guzzle-log-middleware-formatters
Curl formatter for guzzle log middleware `rtheunissen/guzzle-log-middleware`
Installs: 3 995
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php-http/message: ^1.8
This package is auto-updated.
Last update: 2024-11-06 23:47:31 UTC
README
About
This is curl formatter for guzzle log middleware rtheunissen/guzzle-log-middleware
Installation
composer require rtheunissen/guzzle-log-middleware composer require geekdevs/guzzle-log-middleware-formatters
Usage
$loggerMiddleware = new \Concat\Http\Middleware\Logger( $monolog, new \Geekdevs\Http\Message\Formatter\CurlCommandFormatterAdapter() );
More info about middleware: https://github.com/rtheunissen/guzzle-log-middleware/blob/master/README.md