Skip to content

f3ath/lazypdo

Repository files navigation

LazyPDO

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"

About

(un)serializable PHP PDO with lazy initialization

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages