sugiphp / dbal
SugiPHP Database abstraction layer on top of PDO
dev-master
2015-02-10 13:42 UTC
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2024-11-09 18:22:04 UTC
README
SugiPHP database abstraction layer extends PDO and gives you:
-
Lazy database connection. This means that creating a PDO instance (SugiPHP\DBAL\Connection) will not establish a connection to the DB. The connection will occur only if you use a method that requires a connection. If (for some reason) you don't wish to use this feature, call connect() method right after the object creation.
-
Add an event listener (callable) for some PDO methods, giving you the ability to log statements and profile them.