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

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

cosmos/php-database
===================

Help to use MySQL database

v0.1.0(10y ago)018MITPHPPHP &gt;=5.5.0

Since Jul 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/archco/php-database)[ Packagist](https://packagist.org/packages/cosmos/php-database)[ RSS](/packages/cosmos-php-database/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

php-database
============

[](#php-database)

PHP - Database Libraray Package

---

class MysqliDatabase
--------------------

[](#class-mysqlidatabase)

mysqli class 를 이용하여 database control하는데 유용한 method를 제공

```
include_once 'mysqlidatabase.php';
use Cosmos\MysqliDatabase;

$mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');
$mdb = new MysqliDatabase($mysqli);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3686d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/228843?v=4)[COSMOS](/maintainers/Cosmos)[@cosmos](https://github.com/cosmos)

---

Top Contributors

[![archco](https://avatars.githubusercontent.com/u/16632570?v=4)](https://github.com/archco "archco (11 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/cosmos-php-database/health.svg)](https://phpackages.com/packages/cosmos-php-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)[coryrose/livewire-tables

An extension for Livewire that allows you to effortlessly scaffold datatables with optional pagination, search, and sort.

8941.5k](/packages/coryrose-livewire-tables)

PHPackages © 2026

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