Download the PHP package muhammadhuzaifa/telescope-guzzle-watcher without Composer
On this page you can find all versions of the php package muhammadhuzaifa/telescope-guzzle-watcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muhammadhuzaifa/telescope-guzzle-watcher
More information about muhammadhuzaifa/telescope-guzzle-watcher
Files in muhammadhuzaifa/telescope-guzzle-watcher
Package telescope-guzzle-watcher
Short Description 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.
License MIT
Homepage https://github.com/huzaifaarain/telescope-guzzle-watcher
Informations about the package telescope-guzzle-watcher
We Stand With Palestine, Pakistan Stand With Palestine
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.
Once the installation and configurations are completed, you will be able to see the request logs under telescope/client-requests
Installation
You can install the package via composer:
Usage
You can publish the config file with:
This is the contents of the published config file:
You can set the headers that needs to be excluded such as API Keys or other sensitive information. You can also tag uri segments by converting them into an array. This feature can be toggled true/false.
Edit config/telescope.php
file and add the watcher
The watcher depends on the Service Container
and every instance of guzzle client must be resolve using Service Container
.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
Other Projects
- 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.
License
The MIT License (MIT). Please see License File for more information.
All versions of telescope-guzzle-watcher with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/contracts Version ^11.0|^10.0|^9.0
laravel/telescope Version ^5.0
spatie/laravel-package-tools Version ^1.14.0