sugiphp/dbal

SugiPHP Database abstraction layer on top of PDO

Maintainers

Package info

github.com/SugiPHP/DBAL

pkg:composer/sugiphp/dbal

Statistics

Installs: 74

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2015-02-10 13:42 UTC

This package is not auto-updated.

Last update: 2026-03-01 01:09:23 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.