PHPackages                             kizilare/phpdebug - 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. kizilare/phpdebug

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

kizilare/phpdebug
=================

Debugging Tools for PHP

1.3(9y ago)19.0kPHPPHP &gt;=5.3.0

Since Nov 28Pushed 7y agoCompare

[ Source](https://github.com/borjaeu/phpdebug)[ Packagist](https://packagist.org/packages/kizilare/phpdebug)[ Docs](http://kizilare.net)[ RSS](/packages/kizilare-phpdebug/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

phpDebug
========

[](#phpdebug)

Set of libraries to help debugging profiling on php.

Profiling with Xdebug
---------------------

[](#profiling-with-xdebug)

To start profiling:

```
\DebugHelper::watch(true);

```

To finish the profiling

```
\DebugHelper::endWatch();

```

This will write several files in the temp folder (by default the directory temp/ in the package root) with the timestamp of the profile.

In order to watch the debug information:

```
\DebugHelper\Gui::renderLoadsHtml([]);

```

Collect errors:

```
set_error_handler(array('DebugHelper\Error', 'handler'));

```

Custom Profiling
----------------

[](#custom-profiling)

Identifies the start of an event. The first parameter indicates the group for the event.

```
\DebugHelper::timer('Group 1', 'Some message');

```

After the process has finished the timer can be reported through the command

```
./bin/phpdebug timer

```

That show a report in seconds for each of the groups.

```
+-----------+-------+--------+--------+---------------------+---------+
| Group     | Times | Min    | Max    | Average             | Total   |
+-----------+-------+--------+--------+---------------------+---------+
| Group 1   | 142   | 0.4272 | 1.3292 | 0.63779647887324    | 90.5671 |
| Group 2   | 142   | 0.0001 | 0.0037 | 0.00015633802816901 | 0.0222  |
+-----------+-------+--------+--------+---------------------+---------+
Total 138.3751 time taken

```

Url replacements
----------------

[](#url-replacements)

```
\DebugHelper::init([
    'handler_url' => 'phpstorm://open?file=&line=',
]);
\DebugHelper\Gui::renderLoadsHtml([]);

```

Matching
--------

[](#matching)

```
\DebugHelper::init([
    'handler_source' => '/var/www',                  # Path in host or VM
    'handler_target' => '/Users/User/local/project', # Path in current computer

]);
\DebugHelper\Gui::renderLoadsHtml([]);

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~200 days

Total

4

Last Release

3635d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0333d6853eea424db79887b98639a084d36d30e9f556a299f7459dd32c3a06d4?d=identicon)[borjaeu](/maintainers/borjaeu)

---

Top Contributors

[![borjaeu](https://avatars.githubusercontent.com/u/1971162?v=4)](https://github.com/borjaeu "borjaeu (5 commits)")

### Embed Badge

![Health badge](/badges/kizilare-phpdebug/health.svg)

```
[![Health](https://phpackages.com/badges/kizilare-phpdebug/health.svg)](https://phpackages.com/packages/kizilare-phpdebug)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)

PHPackages © 2026

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