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(7mo ago)01061[1 issues](https://github.com/NathanEmanuel/database/issues)[1 PRs](https://github.com/NathanEmanuel/database/pulls)MITPHP

Since Aug 20Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/NathanEmanuel/database)[ Packagist](https://packagist.org/packages/compucie/database)[ RSS](/packages/compucie-database/feed)WikiDiscussions main Synced 4w 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

34

—

LowBetter than 74% of packages

Maintenance63

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

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

222d 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.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

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

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

3220.0k](/packages/voku-session2db)

PHPackages © 2026

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