PHPackages                             ulrack/dbal-pdo - 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. ulrack/dbal-pdo

Abandoned → [grizz-it/dbal-pdo](/?search=grizz-it%2Fdbal-pdo)ArchivedLibrary[Database &amp; ORM](/categories/database)

ulrack/dbal-pdo
===============

Database abstraction layer package implementing PDO from Ulrack

2.2.0(5y ago)134MITPHPPHP ^7.3

Since May 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ulrack/dbal-pdo)[ Packagist](https://packagist.org/packages/ulrack/dbal-pdo)[ RSS](/packages/ulrack-dbal-pdo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

DEPRECATION NOTICE: this package has been moved and improved at [grizz-it/dbal-pdo](https://github.com/grizz-it/dbal-pdo)
=========================================================================================================================

[](#deprecation-notice-this-package-has-been-moved-and-improved-at-grizz-itdbal-pdo)

[![Build Status](https://camo.githubusercontent.com/8552091c76e095251bb5f8216d0424e729c4c521054f96cb833ab4a58df329a3/68747470733a2f2f7472617669732d63692e636f6d2f756c7261636b2f6462616c2d70646f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/ulrack/dbal-pdo)

Ulrack DBAL PDO
===============

[](#ulrack-dbal-pdo)

Ulrack DBAL PDO provides a PDO implementation for [Ulrack DBAL](https://github.com/ulrack/dbal). This package only implements the database connection and transaction part.

Installation
------------

[](#installation)

To install the package run the following command:

```
composer require ulrack/dbal-pdo

```

Usage
-----

[](#usage)

### Creating a connection

[](#creating-a-connection)

To establish a connection with the database through the `Ulrack\Dbal\Pdo\Component\Connection\PdoConnection` object, it is preferred to use the supplied factory in the package.

First of, initialize the factory by adding:

```
