PHPackages                             amsoell/log-requests - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. amsoell/log-requests

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

amsoell/log-requests
====================

Log HTTP requests and their responses

10PHP

Since Sep 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/amsoell/log-requests)[ Packagist](https://packagist.org/packages/amsoell/log-requests)[ RSS](/packages/amsoell-log-requests/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Log Requests
============

[](#log-requests)

[![Latest Version on Packagist](https://camo.githubusercontent.com/40e3d22b027c23325b4f30f7985a0c552fa77544cee48217f29a108c72e6627c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d736f656c6c2f6c6f672d72657175657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amsoell/log-requests)[![Total Downloads](https://camo.githubusercontent.com/196fbcba7a9374229184004bada10a015093e6d2bb5b965e745a3568474425dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d736f656c6c2f6c6f672d72657175657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amsoell/log-requests)

Log all outgoing requests and incoming responses from the Laravel HTTP client. Useful when developing apps that interact with third-party APIs.

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

[](#installation)

You can install the package via composer:

```
composer require amsoell/log-requests
```

Usage
-----

[](#usage)

Out-of-the-box, log-requests will log all outgoing / incoming HTTP responses to the default logging driver. This configuration can be changed by updating the `config/log-requests.php` configuration file to use your application's driver of choice.

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Andy Soell](https://github.com/amsoell)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/501b13b48cf2294cd6780d29c73e64812d0e68c4a4c525dccffc959433ebd50c?d=identicon)[amsoell](/maintainers/amsoell)

---

Top Contributors

[![amsoell](https://avatars.githubusercontent.com/u/187129?v=4)](https://github.com/amsoell "amsoell (2 commits)")

### Embed Badge

![Health badge](/badges/amsoell-log-requests/health.svg)

```
[![Health](https://phpackages.com/badges/amsoell-log-requests/health.svg)](https://phpackages.com/packages/amsoell-log-requests)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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