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

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

hybridlogic/db
==============

A driver-agnostic database library for PHP providing convenient methods for escaping, preparing and executing statements.

v1.0.2(13y ago)6671MITPHPPHP &gt;=5.3.0

Since Jan 12Pushed 13y ago2 watchersCompare

[ Source](https://github.com/Dachande663/PHP-DB)[ Packagist](https://packagist.org/packages/hybridlogic/db)[ Docs](https://github.com/Dachande663/PHP-DB)[ RSS](/packages/hybridlogic-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (1)

DB Connection Library
=====================

[](#db-connection-library)

A driver-agnostic database library for PHP providing convenient methods for escaping, preparing and executing statements.

[![Build Status](https://camo.githubusercontent.com/763a0f60b5997ec8b3f5365e4657abef8cf0b8255cfbdfe05aec401aadd1602c/68747470733a2f2f7472617669732d63692e6f72672f44616368616e64653636332f5048502d44422e706e67)](https://travis-ci.org/Dachande663/PHP-DB)

0.0 Table of Contents
---------------------

[](#00-table-of-contents)

- Introduction
- Examples
- Running Tests
- Troubleshooting
- Changelog

1.0 Introduction
----------------

[](#10-introduction)

This library provides a simple way to connect to and query databases, regardless of the underlying connection driver used i.e. PDO or MySQLi.

HL\\DB handles normalizing preparing data and parsing results. It currently includes just a PDO driver but additional libraries will be added.

2.0 Examples
------------

[](#20-examples)

Examples can be found in ./example.php.

3.0 Running Tests
-----------------

[](#30-running-tests)

phpunit tests

Note that the test suite is currently incomplete.

4.0 Troubleshooting
-------------------

[](#40-troubleshooting)

@todo

5.0 Changelog
-------------

[](#50-changelog)

- **\[2012-12-08\]** Initial Version
- **\[2013-01-02\]** First Release

###  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 100% 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 ~0 days

Total

3

Last Release

4874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aedcc742160323259a035924ab75295484c394d67fe1ab3b855620ba790785eb?d=identicon)[Dachande663](/maintainers/Dachande663)

---

Top Contributors

[![Dachande663](https://avatars.githubusercontent.com/u/106847?v=4)](https://github.com/Dachande663 "Dachande663 (9 commits)")

---

Tags

mysqlsqlpdoquerydb

### Embed Badge

![Health badge](/badges/hybridlogic-db/health.svg)

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

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[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)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

41249.0k7](/packages/atlas-query)[illuminated/db-profiler

Database Profiler for Laravel Web and Console Applications.

168237.4k](/packages/illuminated-db-profiler)

PHPackages © 2026

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