xi/doctrine

There is no license information available for the latest version (0.3) of this package.

A set of utility classes for integration with Doctrine.

0.3 2013-01-29 18:26 UTC

This package is not auto-updated.

Last update: 2024-04-13 10:54:46 UTC


README

A set of utility classes for integration with Doctrine. This package is part of the Xi project.

If you want to use xi-doctrine, make it a submodule of your project and arrange for its library/ to be on your include path.

If you want to develop xi-doctrine, then clone it and install dependencies with Composer.

Build Status

Zend FirePHP logger

Using the Zend FirePHP logger requires

  • Zend Framework's Zend_Wildfire_Plugin_FirePhp component and all of it's dependencies.
  • Firebug FirePHP plugin (http://www.firephp.org)

After installing the dependencies using the Zend FirePHP logger is easy. Just set the Zend FirePHP logger as a Doctrine SQL logger.

<?php

use Xi\Doctrine\DBAL\Logging\ZendFirePhpLogger;

/** @var $config Doctrine\ORM\Configuration */
$config->setSQLLogger(new ZendFirePhpLogger());

Done! Your Firebug console should now log SQL queries ran by Doctrine.