PHP code example of thbourlove / xhgui-extension

1. Go to this page and download the library: Download thbourlove/xhgui-extension 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/ */

    

thbourlove / xhgui-extension example snippets



o = new MongoClient();
$xhprof = new \Thb\Xhgui\Extension($mongo->xhprof);
$xhprof->start();
print 1;
$xhprof->save('print');


o = new MongoClient();
$xhprof = new \Thb\Xhgui\Extension($mongo->xhprof);
$xhprof->start();
print 1;
$xhprof->save('print');
sh
wget https://raw.github.com/thbourlove/xhgui-extension/master/Extension.php