sugiphp / dbal
SugiPHP Database abstraction layer on top of PDO
Requires
- php: >=5.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-27 03:58:24 UTC
README
⚠️ Deprecated: This library is no longer maintained. Please use sugiphp/database-ext instead.
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.