f3ath/lazypdo (packagist): 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.
Keywords: serialize|unit test|phpunit|test|mock|pdo|serializable|lazyload|lazy load