amsoell/log-requests

Log HTTP requests and their responses

dev-main 2023-09-06 09:58 UTC

This package is not auto-updated.

Last update: 2024-11-14 13:37:49 UTC


README

Latest Version on Packagist Total Downloads

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

Installation

You can install the package via composer:

composer require amsoell/log-requests

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

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.