atlas/pdo
Decorates any PDO instance with a Connection that adds perform() (query + bind in one call), handy fetch*/yield* helpers, and query logging with backtraces. Includes a ConnectionLocator to manage named default/read/write connections.
This package provides a Connection that decorates any PDO instance to provide the following:
A perform() that method acts just like query(), but binds values to a
prepared statement as part of the call.
Several fetch*() methods to return results in commonly-occurring
situations.
Several yield*() methods as fetch*() equivalents to yield results instead
of returning them.
Query logging, including backtraces to find where queries were issued.
This package also provides a ConnectionLocator to register, instantiate, and retain named Connection objects for default, read (slave), and write (master) databases.
Read the documentation here.
How can I help you explore Laravel packages today?