PHPackages                             marionjson/xhprof\_ext - 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. marionjson/xhprof\_ext

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

marionjson/xhprof\_ext
======================

composer-self package

v1.0(5y ago)611MITPHPPHP &gt;=7.0

Since Jan 18Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

### xhprof\_ext

[](#xhprof_ext)

### 环境

[](#环境)

- PHP 7.1+.
- xhprof或tideways\_xhprof 需要支持7.0以上环境
- redis 3.0+
- mongo 4.2+

### 安装

[](#安装)

```
composer require marionjson/xhprof_ext
```

### 引入方式

[](#引入方式)

- main.php 为引导入口

```
### apache
php_admin_value auto_prepend_file "~/main.php"

### nginx
fastcgi_param PHP_VALUE "~/main.php"
```

### mongo存储桶

[](#mongo存储桶)

- performanceStatistics:性能分析详情队列KEY

### redis存储桶

[](#redis存储桶)

- TrafficShaperKey:令牌桶KEY

### 时间损耗

[](#时间损耗)

```
real    0m0.096s
user    0m0.000s
sys     0m0.015s
```

### 数据存储呈现效果

[](#数据存储呈现效果)

[![avatar](image/1.png)](image/1.png)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1992d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30171849?v=4)[marionjson](/maintainers/marionjson)[@marionjson](https://github.com/marionjson)

---

Top Contributors

[![marionjson](https://avatars.githubusercontent.com/u/30171849?v=4)](https://github.com/marionjson "marionjson (29 commits)")

### Embed Badge

![Health badge](/badges/marionjson-xhprof-ext/health.svg)

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

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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