proprietes-privees / zend-developer-tools
Module for developer and debug tools for working with the ZF2 MVC layer.
Requires
- php: >=5.3.3
- zendframework/zend-debug: 2.*
- zendframework/zend-eventmanager: 2.*
- zendframework/zend-mvc: 2.*
- zendframework/zend-servicemanager: 2.*
- zendframework/zend-stdlib: 2.*
- zendframework/zend-version: 2.*
Suggests
- bjyoungblood/bjy-profiler: Version: dev-master, allows the usage of the (Zend) Db collector.
- ocramius/ocra-service-manager: OcraServiceManager can help you track dependencies within your application.
This package is not auto-updated.
Last update: 2024-12-13 11:09:18 UTC
README
Module providing debug tools for working with the Zend Framework 2 MVC layer.
Installation
-
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.