ruansheng / xhprof-client
collect xhprof data
1.0.0
2018-08-23 03:34 UTC
Requires
- php: >=7.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-08-28 17:53:57 UTC
README
use xhprof-client collect xhprof data
install
# vim composer.json
{
"minimum-stability": "dev",
"require": {
"ruansheng/xhprof-client":"master"
}
}
# composer install
use
use Xhprof\Client\Client;
$client = new Client();
$client->setCollectRate();
$client->setProjectId('huzhu');
$client->setRedisAddres();
$client->setRedisKeyInfo('xhprof-data');
$client->collection();