PHPackages                             bilfeldt/laravel-http-client-logger - 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. bilfeldt/laravel-http-client-logger

ActiveLibrary[HTTP &amp; Networking](/categories/http)

bilfeldt/laravel-http-client-logger
===================================

A logger for the Laravel HTTP Client

v2.5.0(5mo ago)1531.6M↓22.1%21[2 issues](https://github.com/bilfeldt/laravel-http-client-logger/issues)[2 PRs](https://github.com/bilfeldt/laravel-http-client-logger/pulls)3MITPHPPHP ~8.1.0 | ~8.2.0 | ~8.3.0 | ~8.4.0 | ~8.5.0CI failing

Since Feb 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/bilfeldt/laravel-http-client-logger)[ Packagist](https://packagist.org/packages/bilfeldt/laravel-http-client-logger)[ Docs](https://github.com/bilfeldt/laravel-http-client-logger)[ GitHub Sponsors](https://github.com/bilfeldt)[ RSS](/packages/bilfeldt-laravel-http-client-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (17)Used By (3)

📂 A logger for the Laravel HTTP Client
======================================

[](#open_file_folder-a-logger-for-the-laravel-http-client)

[![bilfeldt/laravel-http-client-logger](cover.jpg)](cover.jpg)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b2f43c2db7e990581575dd41cd9efa32782c5fd91522f8868c63ec216a1d382/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696c66656c64742f6c61726176656c2d687474702d636c69656e742d6c6f67676572)](https://packagist.org/packages/bilfeldt/laravel-http-client-logger)[![GitHub Tests Action Status](https://github.com/bilfeldt/laravel-http-client-logger/actions/workflows/run-tests.yml/badge.svg)](https://github.com/bilfeldt/laravel-http-client-logger/actions/workflows/run-tests.yml)

An easy yet very flexible logger for the Laravel HTTP Client.

VersionLaravelPHP1.\*8.\* | 9.\*7.4.\* | 8.0.\*2.\*9.\* | 10.\* | 11.\* | 12.\*8.1.\* | 8.2.\* | 8.3.\* | 8.4.\*Installation
------------

[](#installation)

You can install the package via composer:

```
composer require bilfeldt/laravel-http-client-logger
```

### Laravel

[](#laravel)

This package makes use of [Laravels package auto-discovery mechanism](https://medium.com/@taylorotwell/package-auto-discovery-in-laravel-5-5-ea9e3ab20518) so **there is no need to do any futher steps** - skip directly to the [usage](#usage) section below. If for some reason you wish to opt-out of package auto discovery, check [the Laravel Docs](https://laravel.com/docs/8.x/packages#opting-out-of-package-discovery) for more details.

### Lumen

[](#lumen)

NOTE: Lumen is **not** officially supported by this package. However, we are currently not aware of any incompatibilities.

If you use Lumen register the service provider in `bootstrap/app.php` like so:

```
