f3ath / lazypdo
This package is abandoned and no longer maintained.
The author suggests using the lazypdo/lazypdo package instead.
LazyPDO is a wrapper over PHP's standard PDO class. It postpones the instantiation of the original PDO class until one is really needed. Also it can be (un)serialized.
v0.1.2
2016-06-21 23:31 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ^4.8 || ^5.0
README
LazyPDO is a wrapper over PHP's standard PDO class. It postpones the instantiation of the original PDO class until one is really needed. Also it can be (un)serialized.
The main goal of this class is to allow mocking of PDO instances in unit tests.
#Install
Via composer:
$ composer require "f3ath/lazypdo"