PHPackages                             szemul/debug-data-creator - 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. szemul/debug-data-creator

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

szemul/debug-data-creator
=========================

Debug file creating error handler

1.1.1(3y ago)02.2kMITPHPPHP ^8.0

Since Nov 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/szemul/debug-data-creator)[ Packagist](https://packagist.org/packages/szemul/debug-data-creator)[ RSS](/packages/szemul-debug-data-creator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

Debug data creator
==================

[](#debug-data-creator)

[![CI pipeline](https://github.com/szemul/debug-data-creator/actions/workflows/php.yml/badge.svg)](https://github.com/szemul/debug-data-creator/actions/workflows/php.yml/badge.svg)[![codecov](https://camo.githubusercontent.com/f6bd516410310da41071b78bbf0710dd84d9576d18c51d201909044599b80b95/68747470733a2f2f636f6465636f762e696f2f67682f737a656d756c2f64656275672d646174612d63726561746f722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d3138595457453842464d)](https://codecov.io/gh/szemul/debug-data-creator)

Error handler to create debug/trace files to aid in debugging.

Data categories
---------------

[](#data-categories)

- Error message - A description of the error or exception
- Exception - If the debug is for an exception or other throwable, the dump of the throwable itself
- Back trace - The backtrace for the error. In case of an exception or a throwable the exception category contains this
- Server - The contents of the $\_SERVER superglobal
- Get - The contents of the $\_GET superglobal
- Post - The contents of the $\_POST superglobal
- Cookie - The contents of the $\_COOKIE superglobal
- Env - The contents of the $\_ENV superglobal

All of the above categories are dumped using the `var_dump()` PHP function except for the error message.

### Config

[](#config)

Each section above can be enabled or disabled. To avoid potential security issues the following categories are disabled by default:

- Server - This may contain environment variables and sensitive configuration data.
- Post - This may contain credentials in case of a login for example.
- Cookie - This may contain session cookies for example.
- Env - This may contain environment variables and sensitive configuration data.

When enabling any of these, it's strongly recommended to use sanitizers to sanitize the categories

Input sanitization
------------------

[](#input-sanitization)

A sanitizer will process the individual categories and remove or mask any sensitive values.

### Object sanitization

[](#object-sanitization)

Any sanitizer may process any object it knows, but an easier way to handle object sanitization is to implement the `__debugInfo` magic method in them.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

1351d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e74721923742f5c04b8ccd5796e0a0e0e744fd004fbaae3c7813b27e125ae70?d=identicon)[szeber](/maintainers/szeber)

---

Top Contributors

[![szeber](https://avatars.githubusercontent.com/u/1102330?v=4)](https://github.com/szeber "szeber (12 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/szemul-debug-data-creator/health.svg)

```
[![Health](https://phpackages.com/badges/szemul-debug-data-creator/health.svg)](https://phpackages.com/packages/szemul-debug-data-creator)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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