PHPackages                             ruansheng/xhprof-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. ruansheng/xhprof-client

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

ruansheng/xhprof-client
=======================

collect xhprof data

1.0.0(7y ago)028MITPHPPHP &gt;=7.0.0

Since Aug 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ruansheng/xhprof-client)[ Packagist](https://packagist.org/packages/ruansheng/xhprof-client)[ RSS](/packages/ruansheng-xhprof-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

xhprof-client
-------------

[](#xhprof-client)

use xhprof-client collect xhprof data

### install

[](#install)

```
# vim composer.json
{
    "minimum-stability": "dev",
    "require": {
        "ruansheng/xhprof-client":"master"
    }
}

# composer install

```

### use

[](#use)

```
use Xhprof\Client\Client;

$client = new Client();
$client->setCollectRate();
$client->setProjectId('huzhu');
$client->setRedisAddres();
$client->setRedisKeyInfo('xhprof-data');
$client->collection();

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2816d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da9c80a806fb8560f6e780385005e4ee1e9fe7b7110778163c18e6543f97845a?d=identicon)[ruansheng](/maintainers/ruansheng)

---

Top Contributors

[![ruansheng](https://avatars.githubusercontent.com/u/3069308?v=4)](https://github.com/ruansheng "ruansheng (13 commits)")

### Embed Badge

![Health badge](/badges/ruansheng-xhprof-client/health.svg)

```
[![Health](https://phpackages.com/badges/ruansheng-xhprof-client/health.svg)](https://phpackages.com/packages/ruansheng-xhprof-client)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M914](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
