PHPackages                             linio/database - 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. linio/database

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

linio/database
==============

Simple abstraction layer on top of PDO, providing features like driver abstraction and connection pool

5.1.0(3y ago)842.6k↓22.2%5[1 issues](https://github.com/LinioIT/database/issues)1BSD-3-ClausePHPPHP ^8.1

Since Mar 16Pushed 3y ago48 watchersCompare

[ Source](https://github.com/LinioIT/database)[ Packagist](https://packagist.org/packages/linio/database)[ RSS](/packages/linio-database/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (28)Used By (1)

Linio Database
==============

[](#linio-database)

[![Latest Stable Version](https://camo.githubusercontent.com/3b0e4875c640a803225d6fc0262489a271ab43d1afbd75ddd03580794f0c0ddb/68747470733a2f2f706f7365722e707567782e6f72672f6c696e696f2f64617461626173652f762f737461626c652e737667)](https://packagist.org/packages/linio/database) [![License](https://camo.githubusercontent.com/2a683c1337138fe1df0270a15830ccaa53ebb0d9b6f4d9440ac8c52700199c5d/68747470733a2f2f706f7365722e707567782e6f72672f6c696e696f2f64617461626173652f6c6963656e73652e737667)](https://packagist.org/packages/linio/database) [![Build Status](https://github.com/LinioIT/database/actions/workflows/php.yml/badge.svg)](https://github.com/LinioIT/database/actions/workflows/php.yml/badge.svg)

Linio Database is a component of the Linio Framework. It aims to abstract database access by wrapping PDO and providing helper methods to speed up development.

Install
-------

[](#install)

The recommended way to install Linio Database is [through composer](http://getcomposer.org).

```
$ composer require linio/database
```

Tests
-----

[](#tests)

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

```
$ composer install
$ vendor/bin/phpunit

```

Usage
-----

[](#usage)

```
