PHPackages                             brainworxx/krexx - 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. brainworxx/krexx

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

brainworxx/krexx
================

PHP debugger which displays information about objects and variables in it's own draggable debug output.

6.0.6(2mo ago)1299LGPL-2.1-or-laterPHPPHP ^7.4 || ^8CI passing

Since Apr 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/brainworxx/kreXX)[ Packagist](https://packagist.org/packages/brainworxx/krexx)[ Docs](https://github.com/brainworxx/kreXX)[ RSS](/packages/brainworxx-krexx/feed)WikiDiscussions main Synced 1mo ago

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

[![https://github.com/brainworxx/kreXX/actions/workflows/php.yml/badge.svg?branch=main](https://github.com/brainworxx/kreXX/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/brainworxx/kreXX/actions/workflows/php.yml)[![](https://camo.githubusercontent.com/78d5c8869867fd5923c3069c7e54a45fa856c50e78988d8d018845e2ae63e72c/68747470733a2f2f716c74792e73682f6261646765732f32643662613737652d393265332d343361662d623935342d3835303431636532363634652f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/brainworxx/projects/kreXX)[![](https://camo.githubusercontent.com/a8b2d73a3b12b2167587c3e3f8086a4e0fee99fa3c155e094dc52f2e0acabda4/68747470733a2f2f716c74792e73682f6261646765732f32643662613737652d393265332d343361662d623935342d3835303431636532363634652f746573745f636f7665726167652e737667)](https://qlty.sh/gh/brainworxx/projects/kreXX)[![https://poser.pugx.org/brainworxx/krexx/v/stable](https://camo.githubusercontent.com/3d787720b71a3262768eb9c582a448c5ba8c1bdc6fb7f05737200ce959569c9e/68747470733a2f2f706f7365722e707567782e6f72672f627261696e776f7278782f6b726578782f762f737461626c65)](https://packagist.org/packages/brainworxx/krexx)[![https://poser.pugx.org/brainworxx/krexx/license](https://camo.githubusercontent.com/e4521090396091e5245ac59800dc52a711e025d03fedc818400c7184c0cb8160/68747470733a2f2f706f7365722e707567782e6f72672f627261696e776f7278782f6b726578782f6c6963656e7365)](https://packagist.org/packages/brainworxx/krexx)kreXX Debugger
--------------

[](#krexx-debugger)

[![kreXX logo](https://cloud.githubusercontent.com/assets/11192910/15508189/c3e07482-21ce-11e6-90e0-03cbe5dff276.png)](https://cloud.githubusercontent.com/assets/11192910/15508189/c3e07482-21ce-11e6-90e0-03cbe5dff276.png)

Key features:- Dumping of protected variables
- Dumping of private variables
- Dumping of traversable data
- Configurable debug callbacks, which will be called on objects (if present). The output will then be dumped.
- Analysis of the methods of objects (comments, where declared, parameters). Comment dumping supports `{@inheritdoc}`.
- Output is draggable and has a closing button.
- All features can be globally configured in a configuration file.
- All features can be locally configured in the browser. The settings will be stored in a cookie.
- Configurable local opening function, to prevent other developers from calling your debug commands.
- Output can be saved to an output folder. Very useful in m2m communication.
- Several security measures to prevent prevent hangups with too large memory usage or a timeout.
- Benchmarking
- Fatal error handler with a full backtrace
- Code generation to reach the displayed values, if possible.

[![Analysis of an extbase query result](https://cloud.githubusercontent.com/assets/11192910/19618053/3e67850a-9840-11e6-96a5-e20ffb67918c.png)](https://cloud.githubusercontent.com/assets/11192910/19618053/3e67850a-9840-11e6-96a5-e20ffb67918c.png)Analysis of an extbase query result

### Installation

[](#installation)

#### Manual installation

[](#manual-installation)

1. Upload the whole kreXX directory to your webserver. Put it somewhere, where you are able to include it to your project.
2. Include as early as possible the file bootstrap.php into your project. Normally this is the index.php.

#### Using composer

[](#using-composer)

```
composer require brainworxx/krexx`
```

Our composer page can be found here:

### Usage inside the PHP code

[](#usage-inside-the-php-code)

kreXX will be called from within the PHP source code:

#### Main analytic function

[](#main-analytic-function)

```
krexx($myObject);
// or as an alias:
\Krexx::open($myObject)
```

#### Benchmarking

[](#benchmarking)

```
// start the benchmark test and define a "moment" during the test
\Krexx::timerMoment('meaningful string, like started db query 123');
// display the result
\Krexx::timerEnd();
```

#### Backtrace

[](#backtrace)

```
\Krexx::backtrace();
```

#### Fatal error handler

[](#fatal-error-handler)

```
// PHP 5 only.
// Register the fatal error handler
\Krexx::registerFatal();
// Unregister the fatal error handler
\Krexx::unregisterFatal();
```

#### Edit your settings

[](#edit-your-settings)

```
// display the edit settings dialog
\Krexx::editSettings();
```

#### Scope analysis

[](#scope-analysis)

Often enough a kreXX call will look like this:

```
krexx($this);
```

Analysing "$this" means, that all protected and private values and methods are reachable from this point inside the code. When kreXX notices this, it will analyse all reachable variables and methods of this class.

#### Force logging

[](#force-logging)

```
// The following commands create a log file instead of a browser output.
\Krexx::log($myObject);
\Krexx::logBacktrace();
\Krexx::logTimerEnd();
```

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity77

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

Recently: every ~33 days

Total

60

Last Release

59d ago

Major Versions

v2.4.0 → v3.0.02018-10-02

v3.2.4 → v4.0.02020-10-27

v3.2.x-dev → v4.1.12021-06-01

v4.1.10 → v5.0.02023-09-23

5.0.12 → 6.0.02025-07-11

PHP version history (6 changes)v1.3.2PHP &gt;=5.3.0

v3.1.0PHP &gt;=5.5.0

v4.0.0PHP &gt;=7.0.0

v4.1.0PHP ^7 || ^8

v5.0.0PHP ^7.2 || ^8

6.0.0PHP ^7.4 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/2540d530fb1f0ba2f268b7d3de7190e562901132b52d8c3cb577940076b108bb?d=identicon)[guelzow](/maintainers/guelzow)

---

Top Contributors

[![guelzow](https://avatars.githubusercontent.com/u/11192910?v=4)](https://github.com/guelzow "guelzow (2177 commits)")

---

Tags

phpprint\_rvar\_dump

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brainworxx-krexx/health.svg)

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

###  Alternatives

[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)[mmucklo/krumo

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

89168.0k6](/packages/mmucklo-krumo)[leeoniya/dump-r

a cleaner, leaner mix of print\_r() and var\_dump()

12368.1k5](/packages/leeoniya-dump-r)[php-sage/sage

☯ Insightful PHP debugging assistant.

5639.7k5](/packages/php-sage-sage)[ivoba/stop

nice output for debug functions for PHP 5.3

1041.9k5](/packages/ivoba-stop)

PHPackages © 2026

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