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

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

comodojo/database
=================

Multi-database library

1.0.0(10y ago)01.0kMITPHPPHP &gt;=5.3.3

Since Oct 27Pushed 10y ago2 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

comodojo/database
=================

[](#comodojodatabase)

[![Build Status](https://camo.githubusercontent.com/88e9ebed90dfb879fca4a5e8e1f6e24d47174325fe654eb046b85cfb0a1a17fc/68747470733a2f2f6170692e7472617669732d63692e6f72672f636f6d6f646f6a6f2f64617461626173652e706e67)](http://travis-ci.org/comodojo/database) [![Latest Stable Version](https://camo.githubusercontent.com/1161e137f1da1afde3a1f99b16186b7fdae06d5e51d4f1c2299bf5b03b141d29/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f64617461626173652f762f737461626c65)](https://packagist.org/packages/comodojo/database) [![Total Downloads](https://camo.githubusercontent.com/f93ba144866f4ce50cc3bae1ea02d84ad0d47711b590df10f67685fd59a53600/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f64617461626173652f646f776e6c6f616473)](https://packagist.org/packages/comodojo/database) [![Latest Unstable Version](https://camo.githubusercontent.com/8cd3c4d4a02a55b4c1913bdbd73ec11a5236b6d2d13aedad7c1a5e6266798e44/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f64617461626173652f762f756e737461626c65)](https://packagist.org/packages/comodojo/database) [![License](https://camo.githubusercontent.com/47861ee1dc16944020ee8398315c2181fe65608307fba3aab5a8ef44f4b3436b/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f64617461626173652f6c6963656e7365)](https://packagist.org/packages/comodojo/database) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/ffd56914d2940e70068ed193e80fc104c6a73504e28626d5cdb074d7da7bc76c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6d6f646f6a6f2f64617461626173652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/comodojo/database/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/8c36f9c7f267d57bb2268158f95583944d6a061e14267c2a8e73c8c5cefe4ec6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6d6f646f6a6f2f64617461626173652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/comodojo/database/?branch=master)

Multi-database library with query builder

Introduction
------------

[](#introduction)

This library provides a standardized layer to connect and send queries to different kind of databases.

Currently it supports:

- MySQL 4.1 and above via [mysqli](http://php.net/manual/en/book.mysqli.php)
- MySQL 3.x, 4.x and 5.x databases using [PDO\_MYSQL](http://php.net/manual/en/ref.pdo-mysql.php)
- Oracle through the OCI library and [PDO\_OCI](http://php.net/manual/en/ref.pdo-oci.php)
- SQLite 3 using [PDO\_SQLITE](http://php.net/manual/en/ref.pdo-sqlite.php)
- PostgreSQL through [pgsql](http://php.net/manual/en/book.pgsql.php)
- Microsoft SQL Server and Sybase using [PDO\_DBLIB](http://php.net/manual/en/ref.pdo-dblib.php)
- IBM DB2 Universal Database, IBM Cloudscape, and Apache Derby through [ibm\_db2](http://php.net/manual/en/book.ibm-db2.php)

It integrates a query builder (still in development) that helps creation of queries across different databases.

**Documentation of this library is not yet available!**

*Pre-release code (unsupported) is still available [here](https://github.com/comodojo/database/releases/tag/0.1.0).*

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

[](#installation)

Install [composer](https://getcomposer.org/), then:

`composer require comodojo/database 1.0.*`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~237 days

Total

3

Last Release

3747d ago

Major Versions

0.1.0 → 1.0.02015-10-03

1.0.0 → 2.0.x-dev2016-02-13

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

2.0.x-devPHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cc933c2d1b92f7fd32abb459387bff69fc8a87158b1474171ccf26139904706?d=identicon)[comodojo](/maintainers/comodojo)

---

Top Contributors

[![marcogiovinazzi](https://avatars.githubusercontent.com/u/12754673?v=4)](https://github.com/marcogiovinazzi "marcogiovinazzi (12 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")

---

Tags

databasequerybuildercomodojo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/comodojo-database/health.svg)

```
[![Health](https://phpackages.com/badges/comodojo-database/health.svg)](https://phpackages.com/packages/comodojo-database)
```

###  Alternatives

[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[lichtner/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921274.8k6](/packages/lichtner-fluentpdo)[fpdo/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921244.9k7](/packages/fpdo-fluentpdo)[clancats/hydrahon

Fast &amp; standalone PHP MySQL Query Builder library.

281205.5k5](/packages/clancats-hydrahon)[mpyw/laravel-local-class-scope

A tiny macro that reuse a global scope class as a local scope

24102.6k](/packages/mpyw-laravel-local-class-scope)[codesvault/howdy-qb

Mysql Query Builder for WordPress

371.2k1](/packages/codesvault-howdy-qb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
