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

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

eureka/component-database
=========================

PHP database library.

4.0.0(6mo ago)01.6k5MITPHPPHP &gt;=8.3CI passing

Since Oct 8Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/eureka-framework/component-database)[ Packagist](https://packagist.org/packages/eureka/component-database)[ RSS](/packages/eureka-component-database/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (6)Versions (16)Used By (5)

component-database
==================

[](#component-database)

[![Current version](https://camo.githubusercontent.com/1017f61ad2d3d2765b2b522eb246bb71a554d6e5ccf05cb1b2bd6ed2f308c690/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657572656b612f636f6d706f6e656e742d64617461626173652e7376673f6c6f676f3d636f6d706f736572)](https://packagist.org/packages/eureka/component-database)[![Supported PHP version](https://camo.githubusercontent.com/a6226f5200fbd8ca1dda8d38f953e4bc2be89e2ef5b9d38d66f014f9b4a3a121/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6f676f3d706870266c6162656c3d504850266d6573736167653d253345253344382e3326636f6c6f723d373737626234)](https://packagist.org/packages/eureka/component-database)[![CI](https://github.com/eureka-framework/component-database/workflows/CI/badge.svg)](https://github.com/eureka-framework/component-database/workflows/CI/badge.svg)[![Quality Gate Status](https://camo.githubusercontent.com/4826c5c4a549479bf753652678530a67d29cec204ddc125f889b1e090eb1e691/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d657572656b612d6672616d65776f726b5f636f6d706f6e656e742d6461746162617365266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=eureka-framework_component-database)[![Coverage](https://camo.githubusercontent.com/143f37442c2b05ab4c77fccec70a57ee9c6436ebd697e888f3b88dd05c428028/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d657572656b612d6672616d65776f726b5f636f6d706f6e656e742d6461746162617365266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=eureka-framework_component-database)

PHP PDO abstraction with factory to handle reconnection &amp; connections to multiple databases.

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

[](#installation)

If you wish to install it in your project, require it via composer:

```
composer require eureka/component-database
```

You can install the component (for testing) with the following command:

```
make install
```

Update
------

[](#update)

You can update the component (for testing) with the following command:

```
make update
```

Usage
-----

[](#usage)

```
