xi/doctrine
Composer 安装命令:
composer require xi/doctrine
包简介
A set of utility classes for integration with Doctrine.
关键字:
README 文档
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.
统计信息
- 总下载量: 4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-06-26