定制 cryonighter/guzzle-http-logger 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cryonighter/guzzle-http-logger

最新稳定版本:1.0.1

Composer 安装命令:

composer require cryonighter/guzzle-http-logger

包简介

HTTP request and response logger for guzzle

README 文档

README

Highlights

  • Framework Agnostic
  • Composer ready, PSR-2 and PSR-4 compliant

System Requirements

You need:

  • PHP >= 7.2.0 but the latest stable version of PHP is recommended

Install

Via Composer

$ composer require cryonighter/guzzle-http-logger

Usage

use Cryonighter\GuzzleHttpLogger\GuzzleClientFactory;
use Cryonighter\HttpLogger\StreamHttpLogger;
use GuzzleHttp\HandlerStack;

$guzzleClient = GuzzleClientFactory::createClient(StreamHttpLogger::create(), HandlerStack::create(), ['http_errors' => false]);

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ php vendor/phpunit/phpunit/phpunit tests

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email cryonighter@yandex.ru instead of using the issue tracker.

Credits

License

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

统计信息

  • 总下载量: 486
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-26