PHPackages                             lightair/phpunit-testlistener-xhprof - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. lightair/phpunit-testlistener-xhprof

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

lightair/phpunit-testlistener-xhprof
====================================

A updated TestListener for PHPUnit that uses XHProf for automated profiling of the tested code.

1.0.3(9y ago)010.9k1BSD-3-ClausePHPPHP &gt;=5.6

Since Nov 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/LightAir/phpunit-testlistener-xhprof)[ Packagist](https://packagist.org/packages/lightair/phpunit-testlistener-xhprof)[ Docs](https://github.com/LightAir/phpunit-testlistener-xhprof/)[ RSS](/packages/lightair-phpunit-testlistener-xhprof/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

This is updated fork to - **[A TestListener that integrates with XHProf](https://github.com/phpunit/phpunit-testlistener-xhprof)**

```
1.0.3 - for php >= 5.6 & phpunit 5.7.*

```

```
1.0.2 - for php >= 5.6 & phpunit 5.6.*

```

======= Here is an example XML configuration for activating this listener:

```

                    /var/www/xhprof_lib/utils/xhprof_lib.php

                    /var/www/xhprof_lib/utils/xhprof_runs.php

                    http://localhost/xhprof_html/index.php

                    Doctrine2

                    XHPROF_FLAGS_CPU,XHPROF_FLAGS_MEMORY

                    call_user_func,call_user_func_array

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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

Every ~6 days

Total

3

Last Release

3443d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14909b70d952a4c2e21a8649595b9290d0aa4091e6a477f855f16bc5dd71e9de?d=identicon)[LightAir](/maintainers/LightAir)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (15 commits)")[![erunion](https://avatars.githubusercontent.com/u/33762?v=4)](https://github.com/erunion "erunion (1 commits)")[![smelesh](https://avatars.githubusercontent.com/u/2971051?v=4)](https://github.com/smelesh "smelesh (1 commits)")[![webdevel](https://avatars.githubusercontent.com/u/1288852?v=4)](https://github.com/webdevel "webdevel (1 commits)")

---

Tags

phpunitxhprof

### Embed Badge

![Health badge](/badges/lightair-phpunit-testlistener-xhprof/health.svg)

```
[![Health](https://phpackages.com/badges/lightair-phpunit-testlistener-xhprof/health.svg)](https://phpackages.com/packages/lightair-phpunit-testlistener-xhprof)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[johnkary/phpunit-speedtrap

Find and report on slow tests in your PHPUnit test suite

78137.2M122](/packages/johnkary-phpunit-speedtrap)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69417.9M511](/packages/spatie-phpunit-snapshot-assertions)[phpspec/prophecy-phpunit

Integrating the Prophecy mocking library in PHPUnit test cases

19254.9M1.4k](/packages/phpspec-prophecy-phpunit)[yoast/phpunit-polyfills

Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests

18338.5M841](/packages/yoast-phpunit-polyfills)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)

PHPackages © 2026

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