PHPackages                             vertilia/pdo-wrap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. vertilia/pdo-wrap

ActiveLibrary[Database &amp; ORM](/categories/database)

vertilia/pdo-wrap
=================

PDO wrapper library to simplify basic DB operations

v1.1.0(2y ago)05BSD-2-ClausePHPPHP &gt;=8

Since May 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vertilia/pdo-wrap)[ Packagist](https://packagist.org/packages/vertilia/pdo-wrap)[ RSS](/packages/vertilia-pdo-wrap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

pdo-wrap - PDO wrapper library to simplify basic DB operations
==============================================================

[](#pdo-wrap---pdo-wrapper-library-to-simplify-basic-db-operations)

PDO ([PHP Data Objects](https://php.net/pdo)) is a standard interface to work with databases from PHP applications. Although it provides a full set of DB-related features for large list of providers, some basic operations seem to lack simplicity.

This package adds some form of simplicity and elegance to your work with PDO-based DB connections from PHP code.

It features:

- typed placeholders without sacrificing standard placeholders form, recognized by most IDEs,
- transparent typed parameter binding allowing simple chaining operations.

Example
-------

[](#example)

Quick example for fetching a record set of several rows with inbound named parameter with PDO:

```
