承接 dorxy/debug_http 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dorxy/debug_http

最新稳定版本:1.3.8

Composer 安装命令:

composer require dorxy/debug_http

包简介

CakePHP Debug Kit Http panel

README 文档

README

Software License Build Status Coverage Status Code Consistency Total Downloads Latest Stable Version Latest Unstable Version

DebugHttp gives the CakePHP DebugKit plugin integration for HTTP requests using CakePHP's client.

Requirements

The master branch has the following requirements:

  • CakePHP 3.4.0 or larger
  • DebugKit 3.2 or larger

Installation

  • Install the plugin with Composer from your CakePHP Project's ROOT directory (where the composer.json file is located)
php composer.phar require dorxy/debug_http "~1.0"

note this is not a dev requirement

Plugin::load('DebugHttp');
Plugin::load('DebugKit', ['bootstrap' => true, 'routes' => true]);
  • Add the panel to DebugKit
Configure::write('DebugKit.panels', ['DebugHttp.ClientCall']);
  • Set 'debug' => true, in config/app.php.

Usage

Whenever you wish to have a client request appear in the DebugHttp panel you must use the provided client, e.g.:

$http = new \DebugHttp\Network\Http\Client();
$http->get('http://www.google.com');

The request and response will automatically appear in the Client calls panel, as well as their timing in the Timer panel.

Screenshots

alt text

alt text

alt text

Reporting Issues

If you have a problem with DebugHttp or wish to see other features please open an issue on GitHub.

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-12