xi / doctrine
A set of utility classes for integration with Doctrine.
Installs: 3 996
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- doctrine/orm: =2.2.2
This package is not auto-updated.
Last update: 2024-12-21 14:12:12 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.
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.