jorgesierra / zf2tracy
Tracy PHP debugger for ZF2
dev-master
2014-05-26 21:03 UTC
Requires
- php: >=5.3.0
- tracy/tracy: 2.2.*@dev
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2025-07-15 10:41:34 UTC
README
Tracy PHP debugger module for ZF2
Installation
- Add to your composer.json and run 'php composer.phar install/update'
{ "require": { "jorgesierra/zf2tracy": "dev-master" } }
- Add 'ZF2Tracy' to the enabled modules list
Usage
\Tracy\Debugger::dump($var);
Configuration
return array(
'tracy_debug' => array(
'enabled' => TRUE,
'mode' => FALSE, // true = production|false = development|null = autodetect|IP address(es) csv/array
'log' => "", // bool = enabled|Path to directory eg. data/logs
'email' => "", // in production mode notifies the recipient
'strict' => TRUE, // bool = cause immediate death|int = matched against error severity
'max_depth' => 3, // nested levels of array/object
'max_len' => 150, // max string display length
),
);
Inspired by https://github.com/webino/ZF2NetteDebug