Module providing debug tools for working with the Zend Framework 2 MVC layer.
-
Install the module via composer by running:
php composer.phar require zendframework/zend-developer-tools:dev-master
or download it directly from github and place it in your application's
module/
directory. -
Add the
ZendDeveloperTools
module to the module section of yourconfig/application.config.php
-
Copy
./vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist
to./config/autoload/zenddevelopertools.local.php
. Change any settings in it according to your needs. -
If server version of PHP is lower than 5.4.0 add the following in your
index.php
:define('REQUEST_MICROTIME', microtime(true));
Note: The displayed execution time in the toolbar will be highly inaccurate if you don't define
REQUEST_MICROTIME
in PHP < 5.4.0.
If you wish to profile Zend\Db
queries, you will have to install and enable
BjyProfiler.