brainworxx/includekrexx

Fluid and PHP debugger with backend access to logfiles, code generation to reach the displayed values and much more. We added some special stuff for Aimeos.

Installs: 8 283

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 4

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v5.1.2 2024-11-26 13:00 UTC

README

build maintainability coverage

stable t310 t311 t312 t313 license

kreXX Debugger - TYPO3 Backend Extension

kreXX logo

Fluid (and PHP debugger) with backend access to logfiles, code generation to reach the displayed values and much more. We added some special stuff for Aimeos.

What does it do?

To put it simple: kreXX is an alternative for the fluid debugger <f:debug/>.

The problem with <f:debug/> is that is can be a little bit discrete when debugging objects. It only shows protected properties which may or may not be reachable in the template file.

kreXX gives you a good overview about the object and how to reach specific values inside.

<!-- Normal frontend output -->
<krexx:debug>{_all}</krexx:debug>
<!-- Force the logging into a file -->
<krexx:log>{_all}</krexx:log>
Fluid debugging with code snippet generation.

Fluid debugging with code snippet generation.

You can also use it as a PHP debugger:

// Normal frontend output
krexx($myObject);
// Force the logging into a file
krexxlog($myObject);

Logging

To use kreXX as a logger simply use the logger ViewHelper:

<krexx:log>{_all}</krexx:log>

The access to the logs files can be found in the first tab of the backend module. The list is automatically updated by ajax every few seconds.

Each entry has a unique colour to make new files better recognisable,

Logfiles backend menu

To make these logfiles easier accessible, we have provided a backend menu, where you can easily view them. The list is automatically updated.

To prevent these files from clogging up your system, kreXX will only keep 10 files and automatically delete older ones. This value can also be changed the logging option Maximum files in the log folder to any number bigger than 0.

A file can be access by simply clicking on the filename. The trashcan on the right deletes the file.

Logfiles in the Admin Panel

Alternatively, you can access the logfiles by using the TYPO3 Admin Panel.