PHPackages                             rollerworks/db-bundle - 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. rollerworks/db-bundle

AbandonedArchivedSymfony-bundle[Database &amp; ORM](/categories/database)

rollerworks/db-bundle
=====================

Doctrine DBAL Helper Bundle. Providing extra functionality for the DBAL

223PHP

Since Jan 1Pushed 12y agoCompare

[ Source](https://github.com/rollerworks/RollerworksDBBundle)[ Packagist](https://packagist.org/packages/rollerworks/db-bundle)[ RSS](/packages/rollerworks-db-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

RollerworksDBBundle
===================

[](#rollerworksdbbundle)

### UserErrorExceptionListener

[](#usererrorexceptionlistener)

This listener listens to DBAL related Exceptions and looks for an so-called user-error.

**Currently only PostgreSQL is supported.**

An user-error is an exception/error thrown by an DB used-defined function, and can be seen as a system exception, so its not intended for validating basic user-input.

Usage may include an access-violation or none-existent relation.

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

[](#installation)

### Step 1: Using Composer (recommended)

[](#step-1-using-composer-recommended)

To install RollerworksDBBundle with Composer add the following to your `composer.json` file:

```
// composer.json
{
    // ...
    require: {
        // ...
        "rollerworks/db-bundle": "master-dev"
    }
}
```

**NOTE**: Please replace `master-dev` in the snippet above with the latest stable branch, for example `1.0.*`.

Then, you can install the new dependencies by running Composer's `update`command from the directory where your `composer.json` file is located:

```
$ php composer.phar update
```

Now, Composer will automatically download all required files, and install them for you. All that is left to do is to update your `AppKernel.php` file, and register the new bundle:

```
