PHPackages                             lauripiisang/xhgui-data-collector - 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. lauripiisang/xhgui-data-collector

Abandoned → [perftools/xhgui-collector](/?search=perftools%2Fxhgui-collector)Library

lauripiisang/xhgui-data-collector
=================================

Library for collecting and storing XHProf results for later use by XHGUI.

1.0.2(9y ago)04.1kMITPHPPHP &gt;=5.3.0

Since Apr 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lauripiisang/xhgui-data-collector)[ Packagist](https://packagist.org/packages/lauripiisang/xhgui-data-collector)[ RSS](/packages/lauripiisang-xhgui-data-collector/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/425aa25edb50fe68a04ea9c064cc274a2d9456e9a2213cf46357b8747e1733d5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6175726970696973616e672f78686775692d646174612d636f6c6c6563746f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lauripiisang/xhgui-data-collector/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8b1fd72c3b500b4c60b130019cdb0b8381d36328974af92a608a763a28b0c0d8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6175726970696973616e672f78686775692d646174612d636f6c6c6563746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lauripiisang/xhgui-data-collector/?branch=master)

XHGUI Data Collector
====================

[](#xhgui-data-collector)

This is a small standalone module which you can use to collect and store [XHProf](https://pecl.php.net/package/xhprof) performance data for later usage in [XHGUI](https://github.com/perftools/xhgui).

Goals
-----

[](#goals)

- Compatibility with PHP &gt;= 5.3.0
- No dependencies aside from the relevant extensions
- Customizable and configurable so you can build your own logic on top of it

XHGUI Compatibility
-------------------

[](#xhgui-compatibility)

This project was originally forked from [perftools/xhgui@133051f](https://github.com/perftools/xhgui/commit/133051f0c27240adadf00eadc236be595caadcdd), which was after the tag 0.7.1.

This should ensure compatibility for most tags up to 0.7.1 (included).

The only thing to break compatibility would be a schema change on XHGUI side.

This table represents current known information about compatibility between this project and [XHGUI](https://github.com/perftools/xhgui) data schema.

XHGUI Data Collector versionXHGUI VersionCompatibility1.0.00.2.0 - 0.7.1presumed compatible - schema is the sameUsage
-----

[](#usage)

You can use this to build your own saving library or just configure as described in [XHGUI](https://github.com/perftools/xhgui) manual and include `external/header.php` as an auto\_prepend\_file (also described in [XHGUI](https://github.com/perftools/xhgui) manual)

System Requirements
-------------------

[](#system-requirements)

For using the data collection classes you will need the following:

- PHP version 5.3 or later.
- [XHProf](http://pecl.php.net/package/xhprof), [Uprofiler](https://github.com/FriendsOfPHP/uprofiler) or [Tideways](https://github.com/tideways/php-profiler-extension) to actually profile the data.
- Some way to access a [MongoDB](http://www.mongodb.org/) server. Choose either:
    - [MongoDB Extension](http://pecl.php.net/package/mongo)&gt;=1.3.0 (MongoDB PHP driver from pecl)
    - `alcaeus/mongo-php-adapter` composer dependency.
- a MongoDB server. XHGUI requires version 2.2.0 or later.

When in doubt, refer to [XHGUI](https://github.com/perftools/xhgui) repository's composer.json or this repository's composer.json `suggests` section.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.7% 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 ~3 days

Total

3

Last Release

3319d ago

### Community

Maintainers

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

---

Top Contributors

[![markstory](https://avatars.githubusercontent.com/u/24086?v=4)](https://github.com/markstory "markstory (611 commits)")[![preinheimer](https://avatars.githubusercontent.com/u/244891?v=4)](https://github.com/preinheimer "preinheimer (58 commits)")[![bertrandmalet](https://avatars.githubusercontent.com/u/496453?v=4)](https://github.com/bertrandmalet "bertrandmalet (12 commits)")[![sebbrandt87](https://avatars.githubusercontent.com/u/793580?v=4)](https://github.com/sebbrandt87 "sebbrandt87 (7 commits)")[![thbourlove](https://avatars.githubusercontent.com/u/1768066?v=4)](https://github.com/thbourlove "thbourlove (5 commits)")[![lornajane](https://avatars.githubusercontent.com/u/172607?v=4)](https://github.com/lornajane "lornajane (4 commits)")[![dshafik](https://avatars.githubusercontent.com/u/58074?v=4)](https://github.com/dshafik "dshafik (3 commits)")[![david-garcia-garcia](https://avatars.githubusercontent.com/u/9599352?v=4)](https://github.com/david-garcia-garcia "david-garcia-garcia (3 commits)")[![anho](https://avatars.githubusercontent.com/u/863612?v=4)](https://github.com/anho "anho (3 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (2 commits)")[![sylus](https://avatars.githubusercontent.com/u/984304?v=4)](https://github.com/sylus "sylus (2 commits)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (2 commits)")[![mre](https://avatars.githubusercontent.com/u/175809?v=4)](https://github.com/mre "mre (1 commits)")[![rajiff](https://avatars.githubusercontent.com/u/1080415?v=4)](https://github.com/rajiff "rajiff (1 commits)")[![rs-saunders](https://avatars.githubusercontent.com/u/4743056?v=4)](https://github.com/rs-saunders "rs-saunders (1 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")[![sebastianheuer](https://avatars.githubusercontent.com/u/169095?v=4)](https://github.com/sebastianheuer "sebastianheuer (1 commits)")[![tomasnorre](https://avatars.githubusercontent.com/u/1212481?v=4)](https://github.com/tomasnorre "tomasnorre (1 commits)")[![uuf6429](https://avatars.githubusercontent.com/u/230049?v=4)](https://github.com/uuf6429 "uuf6429 (1 commits)")[![atdt](https://avatars.githubusercontent.com/u/376462?v=4)](https://github.com/atdt "atdt (1 commits)")

### Embed Badge

![Health badge](/badges/lauripiisang-xhgui-data-collector/health.svg)

```
[![Health](https://phpackages.com/badges/lauripiisang-xhgui-data-collector/health.svg)](https://phpackages.com/packages/lauripiisang-xhgui-data-collector)
```

PHPackages © 2026

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