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
ZendDeveloperTools/config/zenddevelopertools.local.php.dist
to./config/autoload/zenddevelopertools.local.php
. Change any settings in it according to your needs. -
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
.
If you wish to profile Zend\Db
queries, you will have to install and enable
BjyProfiler.