geekdevs/guzzle-log-middleware-formatters

Curl formatter for guzzle log middleware `rtheunissen/guzzle-log-middleware`

1.0.0 2020-04-06 12:09 UTC

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