PHPackages                             usox/hadb - 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. usox/hadb

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

usox/hadb
=========

Query sql databases using hack in strict mode

v3.0.1(7y ago)1676MITHack

Since Jan 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/usox/hadb)[ Packagist](https://packagist.org/packages/usox/hadb)[ Docs](https://github.com/usox/hadb)[ RSS](/packages/usox-hadb/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)Dependencies (7)Versions (17)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f76ca674557b2fef4c8a0cf5c6a45098236be26e002c7e6694d6dff14385e11b/68747470733a2f2f7472617669732d63692e6f72672f75736f782f686164622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/usox/hadb)

HaDb - Hack DB
==============

[](#hadb---hack-db)

Query sql databases using hack in strict mode - that's it.

Usage
-----

[](#usage)

Just create a config class using the `\Usox\HaDb\DatabaseConfigInterface` and instantiate HaDb;

```
$database_config = new MyDatabaseConfig();

$hadb = Usox\HaDb\DatabaseAdapter::factory(
  $database_config
);
```

Supported Databases
-------------------

[](#supported-databases)

- PostgreSQL
- MySql

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

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 ~66 days

Recently: every ~103 days

Total

15

Last Release

2853d ago

Major Versions

0.3 → 1.0.02017-02-17

0.4.0 → 1.0.12017-03-01

1.0.x-dev → 2.0.02018-04-06

2.0.x-dev → v3.0.02018-06-19

### Community

Maintainers

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

---

Top Contributors

[![usox](https://avatars.githubusercontent.com/u/5184763?v=4)](https://github.com/usox "usox (42 commits)")

---

Tags

databasehackhacklanghhvmpdopostgresqlmysqlpostgrespgsqlhack

### Embed Badge

![Health badge](/badges/usox-hadb/health.svg)

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[aura/sql

A PDO extension that provides lazy connections, array quoting, query profiling, value binding, and convenience methods for common fetch styles. Because it extends PDO, existing code that uses PDO can use this without any changes to the existing code.

5632.5M43](/packages/aura-sql)[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)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)

PHPackages © 2026

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