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.5(2mo ago)0179[3 PRs](https://github.com/freezer278/laravel-http-client-requests-logger/pulls)MITPHPPHP ^8.3CI passing

Since May 12Pushed 1w 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 yesterday

READMEChangelog (2)Dependencies (16)Versions (12)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

46

—

FairBetter than 92% of packages

Maintenance92

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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 ~69 days

Recently: every ~86 days

Total

6

Last Release

74d 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

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[binaryk/laravel-restify

Laravel REST API helpers

677415.0k](/packages/binaryk-laravel-restify)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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