Doctrine panel for ZFDebug
Switch branches/tags
Pull request Compare This branch is even with eleclerc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


as of 2010-05-26, all the stuff about integrating Doctrine and Zend Framework have been removed as there is now a semi-official ZFDoctrine project, see the announcement

Doctrine panel for ZFDebug 1.5

This is a proof of concept to have the Doctrine profiler info on a ZFDebug panel for Zend Framework.


You have to put the Danceric folder in you library folder (if you're using the default ZF layout) and enable it in your bootstrap. See Installation Instructions on the ZFDebug website

Example (in Bootstrap.php):

protected function _initZFDebug()
    $autoloader = Zend_Loader_Autoloader::getInstance();

    // Ensure doctrine db instance is loaded

    $options = array(
        'plugins' => array('Variables',

    $debug = new ZFDebug_Controller_Plugin_Debug($options);


Before the semi-official zf-doctrine

If you're not using ZFDoctrine for any reason, you might want to see my sample project by looking at the zfdebugdoctrine/Doctrine-1.2-beta tag. Keep in mind that it is not the supported way anymore though.