eddiejaoude / doctrine2-logger
This package is abandoned and no longer maintained.
No replacement package was suggested.
Zend Framework 2 & Doctrine 2 SQL Logger using Zend Log
dev-master
2014-03-18 07:03 UTC
Requires
- php: >=5.5
- doctrine/orm: >2.4
- eddiejaoude/zf2-logger: 0.*
- zendframework/zend-di: 2.2.*
- zendframework/zend-eventmanager: 2.2.*
- zendframework/zend-log: 2.2.*
- zendframework/zend-mvc: 2.2.*
Requires (Dev)
- mockery/mockery: 0.8.0
- phpunit/phpunit: 3.7.*
- satooshi/php-coveralls: dev-master
- zendframework/zendframework: 2.2.*
This package is not auto-updated.
Last update: 2020-04-03 16:21:37 UTC
README
Zend Framework 2 Module for Doctrine 2 SQL Logger using Zend Log
Composer install
require: {
"eddiejaoude/doctrine2-logger" : "dev-master"
}
SQL logging example
2014-03-15T08:13:24+00:00 INFO (7): Executed Query: Array
(
[sql] => SELECT t0.id AS id1, t0.email AS email2, t0.firstname AS firstname3, t0.surname AS surname4, t0.roles AS roles5, t0.suspended AS suspended6 FROM users t0 WHERE t0.id = ?
[params] => Array
(
[0] => 64
)
[types] => Array
(
[0] => integer
)
[executionMS] => 0.0003349781036377
)