PHPackages                             zhp/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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. zhp/data-collector

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

zhp/data-collector
==================

Simple data collector for php application, inspiration comes from maximebf/debugbar.

0.0.6(10y ago)0197MITPHPPHP &gt;=5.4.0

Since Apr 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/happen-zhang/data-collector)[ Packagist](https://packagist.org/packages/zhp/data-collector)[ Docs](https://github.com)[ RSS](/packages/zhp-data-collector/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (7)Used By (0)

data-collector
==============

[](#data-collector)

Simple data collector for php application, inspiration comes from maximebf/debugbar.

Install
-------

[](#install)

```
$ composer require zhp/data-collector

```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';

use Zhp\DataCollector\DataCollector;
use Zhp\DataCollector\Collectors\MemoryCollector;
use Zhp\DataCollector\Storages\FileStorage;

$dataCollector = new DataCollector;
$dataCollector->setStorage(new FileStorage(__DIR__ . '/logs'));
$dataCollector->addCollector(new MemoryCollector);

$dataCollector->getData();
```

Todo
----

[](#todo)

more...

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~3 days

Total

6

Last Release

3694d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5eb0c2db57a27782059ac20d2c24575d7eee91cd1fe08a6b12de2759ebaa7776?d=identicon)[happen-zhang](/maintainers/happen-zhang)

---

Top Contributors

[![zhanghaipeng404](https://avatars.githubusercontent.com/u/5960573?v=4)](https://github.com/zhanghaipeng404 "zhanghaipeng404 (18 commits)")

---

Tags

collectordata collector

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/error-handler

Provides tools to manage errors and ease debugging PHP code

2.7k682.0M764](/packages/symfony-error-handler)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k365.0M3.1k](/packages/symfony-cache)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k26.7M62](/packages/php-debugbar-php-debugbar)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[api-platform/metadata

API Resource-oriented metadata attributes and factories

244.5M182](/packages/api-platform-metadata)

PHPackages © 2026

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