proprietes-privees/zend-developer-tools

Module for developer and debug tools for working with the ZF2 MVC layer.

1.0 2016-02-02 09:43 UTC

This package is not auto-updated.

Last update: 2024-04-19 08:04:36 UTC


README

Module providing debug tools for working with the Zend Framework 2 MVC layer.

Installation

  1. 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.

  2. Add the ZendDeveloperTools module to the module section of your config/application.config.php

  3. 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.

  4. 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.