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

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

compucie/database
=================

Library of database managers used by Newton's systems.

6.0.0(5mo ago)01061[1 issues](https://github.com/NathanEmanuel/database/issues)[1 PRs](https://github.com/NathanEmanuel/database/pulls)MITPHP

Since Aug 20Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/NathanEmanuel/database)[ Packagist](https://packagist.org/packages/compucie/database)[ RSS](/packages/compucie-database/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (9)Used By (0)

Database managers (DBMs)
========================

[](#database-managers-dbms)

Creating the databases and tables
---------------------------------

[](#creating-the-databases-and-tables)

Each DBM has a `createTable()` method that automatically creates the tables for the DBMs database. The database itself still has to be created by you. Remember that the DBM's user needs to have permission to create tables if you want to use this method.

Using the DBM
-------------

[](#using-the-dbm)

The DBMs have multiple methods for operations that they can perform on the database. What each method does and how it is used is added as PHPDoc in the source code and this should be sufficient for you to be able to learn how to work with the DBMs.

You can add more operations by either modifying the DBM or by subclassing it. Pull requests are welcome if you have made modification that you believe might also be useful for others.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance70

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.1% 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 ~71 days

Recently: every ~4 days

Total

8

Last Release

177d ago

Major Versions

4.2.2 → 5.0.02025-12-15

5.0.3 → 6.0.02025-12-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/8465068da401f84740df1b8876becf1a132088033ec63a289b226e5d715ce1ff?d=identicon)[NathanEmanuel](/maintainers/NathanEmanuel)

---

Top Contributors

[![NathanEmanuel](https://avatars.githubusercontent.com/u/102367496?v=4)](https://github.com/NathanEmanuel "NathanEmanuel (89 commits)")[![SweersJ](https://avatars.githubusercontent.com/u/113710099?v=4)](https://github.com/SweersJ "SweersJ (26 commits)")[![Nathan-EST8](https://avatars.githubusercontent.com/u/180432316?v=4)](https://github.com/Nathan-EST8 "Nathan-EST8 (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)

PHPackages © 2026

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