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

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

vmorozov/laravel-http-client-requests-logger
============================================

Package for fast setup for requests and responses logging for laravel http-client-based api clients

v1.0.4(12mo ago)0148[3 PRs](https://github.com/freezer278/laravel-http-client-requests-logger/pulls)MITPHPPHP ^8.3CI passing

Since May 12Pushed 1mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (8)Versions (9)Used By (0)

Package for fast setup for requests and responses logging for laravel http-client-based api clients
===================================================================================================

[](#package-for-fast-setup-for-requests-and-responses-logging-for-laravel-http-client-based-api-clients)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1f888a489cbd447e856af607ff2bd4d936f4b26524f4a1806b2e6dd0639cd385/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766d6f726f7a6f762f6c61726176656c2d687474702d636c69656e742d72657175657374732d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vmorozov/laravel-http-client-requests-logger)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a1f4b720c3844af2e1ddb73e2652d1488eac68377f91576040b98db4c21578f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f667265657a65723237382f6c61726176656c2d687474702d636c69656e742d72657175657374732d6c6f676765722f72756e2d74657374732e796d6c3f6272616e63683d6d6173746572266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/freezer278/laravel-http-client-requests-logger/actions?query=workflow%3Arun-tests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1af83f3d9e0ec6597aa448a03f87b1d0ccaaf8d4044e33f39e0ec45373cdd718/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f667265657a65723237382f6c61726176656c2d687474702d636c69656e742d72657175657374732d6c6f676765722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d6173746572266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/freezer278/laravel-http-client-requests-logger/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/566f5eeeaf87c972d90ea63f53a88c1b641dd861e4add1c639253014e8be87b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766d6f726f7a6f762f6c61726176656c2d687474702d636c69656e742d72657175657374732d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vmorozov/laravel-http-client-requests-logger)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require vmorozov/laravel-http-client-requests-logger
```

Usage
-----

[](#usage)

In class that uses laravel http client in constructor:

```
use \VMorozov\LaravelHttpClientRequestsLogger\HttpClientRequestsLogger;

// .....

public function __construct(private HttpClientRequestsLogger $requestsLogger)
{
    $this->requestsLogger->setApiName('some api name');
}
```

In class that uses laravel http client in code that sets request options:

```
Http::withMiddleware($this->requestsLogger->createLoggingMiddleware());
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Volodymyr Morozov](https://github.com/v.morozov)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance73

Regular maintenance activity

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

362d ago

PHP version history (2 changes)v1.0.0PHP ^8.4

v1.0.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1487aab1174b98688909d82fa4014f59f66c80242d61fef733ae1045ab17f4d?d=identicon)[vmorozov](/maintainers/vmorozov)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![freezer278](https://avatars.githubusercontent.com/u/17979033?v=4)](https://github.com/freezer278 "freezer278 (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

apilaravellogginghttp clientvmorozovlaravel-http-client-requests-logger

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/vmorozov-laravel-http-client-requests-logger/health.svg)

```
[![Health](https://phpackages.com/badges/vmorozov-laravel-http-client-requests-logger/health.svg)](https://phpackages.com/packages/vmorozov-laravel-http-client-requests-logger)
```

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

651399.1k](/packages/binaryk-laravel-restify)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[butschster/kraken-api-client

The most powerful and extendable REST API / Websocket client for Kraken.com. Built on PHP8.0

5014.3k](/packages/butschster-kraken-api-client)[pdphilip/cf-request

Cloudflare Laravel Request

2725.6k1](/packages/pdphilip-cf-request)

PHPackages © 2026

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