Module for developer and debug tools for working with the ZF2 MVC layer.
PHP
Pull request Compare This branch is 281 commits behind zendframework:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src/ZendDeveloperTools
view/zend-developer-tools
LICENSE.txt
Module.php
README-DEV.md
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php
composer.json

README.md

Zend Developer Tools

Module for developer and debug tools for working with the ZF2 MVC layer. While this is still an early version, it is planned to be finished before Zend Framework 2.0 stable.

Install

  1. Copy ZendDeveloperTools/config/zenddevelopertools.local.php.dist to ./config/autoload/zenddevelopertools.local.php. Change the settings if you like to.
  2. 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, you have to install and enable BjyProfiler. You can do so by running composer's require command.

php composer.phar require bjyoungblood/BjyProfiler:dev-master

Zend Developer Tools will try to grab the Profiler from your Zend\Db adapter instance, using the Zend\Db\Adapter\Adapter or Zend\Db\Adapter\ProfilingAdapter service name.