thbourlove / xhgui-extension
v0.1.1
2014-01-26 10:25 UTC
This package is not auto-updated.
Last update: 2024-12-17 05:22:44 UTC
README
It's an extension for xhgui.
How?
wget https://raw.github.com/thbourlove/xhgui-extension/master/Extension.php
example
<?php require "Extension.php"; $mongo = new MongoClient(); $xhprof = new \Thb\Xhgui\Extension($mongo->xhprof); $xhprof->start(); print 1; $xhprof->save('print');
With Composer
"require-dev": { "thbourlove/xhgui-extension": "dev-master" }
example
<?php require "vendor/autoload.php"; $mongo = new MongoClient(); $xhprof = new \Thb\Xhgui\Extension($mongo->xhprof); $xhprof->start(); print 1; $xhprof->save('print');