PHPackages                             technosophos/xdebugutils - 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. technosophos/xdebugutils

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

technosophos/xdebugutils
========================

Tools for processing Xdebug output.

1.0.0(14y ago)6482↓100%5[1 issues](https://github.com/technosophos/XdebugUtils/issues)MIT or GPLv2PHPPHP &gt;=5.2.0

Since Feb 3Pushed 14y ago2 watchersCompare

[ Source](https://github.com/technosophos/XdebugUtils)[ Packagist](https://packagist.org/packages/technosophos/xdebugutils)[ Docs](https://github.com/technosophos/XdebugUtils)[ RSS](/packages/technosophos-xdebugutils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

XdebugUtils
===========

[](#xdebugutils)

This provides a library and various command-line utilities for working with Xdebug output.

Scripts included:

- trace4func: Given a function name, give stack traces for all cases where the function was called.
- whatisincluded: Find all of the files that were included on a given run
- whocalls: Given a function, print info about the calling function. For example, find all functions that call `file_exists(_))`.

Installation
------------

[](#installation)

To collect data, you must have Xdebug installed, and you must be able to configure it to generate traces.

To use these tools, you will need PHP 5.2 or later.

To get started:

1. Clone the Git repository
2. Use any of the included command line tools.

Usage
-----

[](#usage)

1. You will need trace file to work with. Consult the Xdebug documentation. Make sure you set the trace output to generate machine-readable output.
2. Run any of the provided scripts to analyze trace output.

Collecting Data with Xdebug
---------------------------

[](#collecting-data-with-xdebug)

Example `php.ini` config for Xdebug:

```
xdebug.auto_trace = 1
xdebug.trace_format = 1
xdebug.trace_output_name = php-trace.%t

```

The second one is the most important: Set the tracing format to 1.

More information
----------------

[](#more-information)

You can easily extend this suite. See `API` (included here) to get started, or simply take a look at some of the tools in this package. Nothing is really that sophisticated.

Related Projects
----------------

[](#related-projects)

- [ValaXdebugTools](https://github.com/technosophos/ValaXdebugTools) is a very fast trace analyzer.
- [xdebugtoolkit](http://code.google.com/p/xdebugtoolkit/) produces DOT files to make pretty diagrams of Xdebug trace files.

---

XdebugUtils by mbutcher (2010)

Thanks to Derick Rethans, who [posted a simple PHP tool](http://derickrethans.nl/xdebug-and-tracing-memory-usage.html) for parsing Xdebug trace files.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

5209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cf49dfa830249da19113949c7d32ee7f526d9855393149f196eb0da2b304055?d=identicon)[technosophos](/maintainers/technosophos)

---

Top Contributors

[![technosophos](https://avatars.githubusercontent.com/u/89193?v=4)](https://github.com/technosophos "technosophos (17 commits)")

---

Tags

debugXdebugtrace

### Embed Badge

![Health badge](/badges/technosophos-xdebugutils/health.svg)

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

###  Alternatives

[symfony/var-dumper

Provides mechanisms for walking through any arbitrary PHP variable

7.4k855.5M7.9k](/packages/symfony-var-dumper)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M621](/packages/barryvdh-laravel-debugbar)[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)[composer/xdebug-handler

Restarts a process without Xdebug.

2.6k397.5M90](/packages/composer-xdebug-handler)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M39](/packages/php-debugbar-php-debugbar)[kint-php/kint

Kint - Advanced PHP dumper

2.8k19.3M282](/packages/kint-php-kint)

PHPackages © 2026

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