sugiphp / dbal
SugiPHP Database abstraction layer on top of PDO
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sugiphp/dbal
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2025-09-27 23:04:56 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.