Download the PHP package muhammadhuzaifa/laravel-pulse-guzzle-recorder without Composer
On this page you can find all versions of the php package muhammadhuzaifa/laravel-pulse-guzzle-recorder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muhammadhuzaifa/laravel-pulse-guzzle-recorder
More information about muhammadhuzaifa/laravel-pulse-guzzle-recorder
Files in muhammadhuzaifa/laravel-pulse-guzzle-recorder
Package laravel-pulse-guzzle-recorder
Short Description Pulse Guzzle Recorder provide a custom recorder for intercepting http requests made via guzzlehttp/guzzle php library and add them into the pulse dashboard if the request is slow. The package uses the guzzle middleware for the data. The recorder intercept and log the request into the Laravel Pulse Slow Outgoing Requests.
License MIT
Homepage https://github.com/huzaifaarain/laravel-pulse-guzzle-recorder
Informations about the package laravel-pulse-guzzle-recorder
Laravel Pulse Guzzle Recorder
Laravel Pulse Guzzle Recorder provide a custom recorder for intercepting http requests made via guzzlehttp/guzzle php library and log them into the Laravel Pulse Slow Outgoing Requests section.
LaravelPulseGuzzleRecorder
under the hood uses Laravel\Pulse\Recorders\SlowOutgoingRequests::record
functionality, so the configuration passed to the said recorder will also affect this recorder.
Installation
You can install the package via composer:
Add the recorder LaravelPulseGuzzleRecorder
in the config/pulse.php
file
Usage
If you are using Laravel builtin Http facade, then you don't need this package. This package is useful when working with guzzlehttp/guzzle
using the Client
class. The Client
class must be resolved using the service container app
.
For example, if you are working with hubspot/api-client
and would like to intercept the requests then you can create a custom Client
provide it to the HubSpot Factory
constructor.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Muhammad Huzaifa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-pulse-guzzle-recorder with dependencies
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^10.0|^11.0
laravel/pulse Version ^1.0@beta|^1.0
spatie/laravel-package-tools Version ^1.14.0