PHP code example of dorxy / debug_http
1. Go to this page and download the library: Download dorxy/debug_http library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dorxy / debug_http example snippets
Plugin::load('DebugHttp');
Plugin::load('DebugKit', ['bootstrap' => true, 'routes' => true]);
Configure::write('DebugKit.panels', ['DebugHttp.ClientCall']);
$http = new \DebugHttp\Network\Http\Client();
$http->get('http://www.google.com');