https://github.com/danielkurecka/nette-guzzle-bluescreen
Tracy Bluescreen panel for Guzzle.
https://github.com/danielkurecka/nette-guzzle-bluescreen
guzzle nette tracy-panel
Last synced: about 1 month ago
JSON representation
Tracy Bluescreen panel for Guzzle.
- Host: GitHub
- URL: https://github.com/danielkurecka/nette-guzzle-bluescreen
- Owner: danielkurecka
- License: mit
- Created: 2020-03-06T19:47:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-19T14:51:43.000Z (over 5 years ago)
- Last Synced: 2025-09-27T04:00:13.246Z (8 months ago)
- Topics: guzzle, nette, tracy-panel
- Language: PHP
- Homepage:
- Size: 66.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Nette Bluescreen for Guzzle
This extension adds a new panel to Tracy Bluescreen for Guzzle HTTP client.
When Guzzle exception occures, it will log full request/response body and headers.
It will also pretty print the body when the content type is application/json.
[](https://danielkurecka.github.io/nette-guzzle-bluescreen/guzzle-bluescreen.png)
# Installation
`composer require daku/nette-guzzle-bluescreen`
## Usage
Register the extension in config.neon:
```neon
extensions:
guzzleBluescreen: Daku\Nette\Guzzle\GuzzleBlueScreenExtension
```
## Configuration
```neon
guzzleBluescreen:
# Set maximum body length (in kB) that will be logged, if exceeded the body will be truncted. Default is 100 kB.
maxBodyLength: 200
# Enable/disable pretty print of json responses. Default is true.
prettyPrint: false
```
## Requirements
PHP >= 7.1\
Nette >= 2.4