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

This package is auto-updated.

Last update: 2022-02-01 12:32:23 UTC


README

Total Downloads Latest Stable Version Travis Build SensioLabs Insight

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"