PHPackages                             monolyth/dabble - 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. monolyth/dabble

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

monolyth/dabble
===============

PHP5 database abstraction layer

1.6.2(9y ago)056MITPHPPHP &gt;=5.4

Since Mar 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/monolyth-php/dabble)[ Packagist](https://packagist.org/packages/monolyth/dabble)[ RSS](/packages/monolyth-dabble/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (35)Used By (0)

Dabble
======

[](#dabble)

PHP5 database abstraction layer. Writing SQL by hand is fine craft, but often it's more convenient to juggle arrays, e.g. to dynamically add conditions. Using Dabble this is made easy, while still allowing you to write literal SQL where you need.

Dabble is an *extension* of PHP's native `PDO` class, so should work with any existing code seamlessly.

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

[](#installation)

### Using Composer (recommended)

[](#using-composer-recommended)

```
composer install --save monolyth/dabble
```

### Manual

[](#manual)

Download or clone the library. Register the `/path/to/dabble/src` for the namespace prefix `Monolyth\Dabble` in your autoloader.

Setting up a connection
-----------------------

[](#setting-up-a-connection)

Instantiate a Dabble database object using your credentials:

```
