daku/nette-guzzle-bluescreen
Composer 安装命令:
composer require daku/nette-guzzle-bluescreen
包简介
This extension adds a new panel to Tracy Bluescreen for Guzzle.
关键字:
README 文档
README
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.
Installation
composer require daku/nette-guzzle-bluescreen
Usage
Register the extension in config.neon:
extensions: guzzleBluescreen: Daku\Nette\Guzzle\GuzzleBlueScreenExtension
Configuration
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
统计信息
- 总下载量: 1.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-06