PHPackages                             d-bmysql/d-bmysql - 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. d-bmysql/d-bmysql

ActiveLibrary

d-bmysql/d-bmysql
=================

Mysqli Essential DB Class This class can access MySQL databases with mysql and mysqli. It comes with a

07PHP

Since Jul 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mrosama/Mysqli-Essential-DB-Class)[ Packagist](https://packagist.org/packages/d-bmysql/d-bmysql)[ RSS](/packages/d-bmysql-d-bmysql/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

[Mysqli Essential DB Class](https://github.com/mrosama/Mysqli-Essential-DB-Class)
=================================================================================

[](#mysqli-essential-db-class)

Mysqli Essential DB Class This class can access MySQL databases with mysql and mysqli. It comes with a factory class that can create objects of driver classes to access a MySQL database using either the mysql or mysqli extensions.

The drivers can establish connections, execute queries, retrieve the query results into arrays, display query results in paginated listings, execute backup procedures and serve the backup file for download.

- Source:
- Email: [osama\_eg@outlook.com](osama_eg@outlook.com)

### Composer

[](#composer)

```
{
	"require": {
		"d-bmysql/d-bmysql": "dev-master"
	}
}

```

Quick start
-----------

[](#quick-start)

Clone the git repo - `git clone git://github.com/mrosama/Mysqli-Essential-DB-Class.git` - or [download it](https://github.com/mrosama/Mysqli-Essential-DB-Class/archive/master.zip)

Features
--------

[](#features)

This class implements a MySQL database access wrapper using MySQLi or mysql. It can:

- Establish connections to MySQL server hosts
- Execute SQL queries
- Determine the number of result rows or affected rows
- Retrieve query results into arrays
- pagination
- Backup database

Documentation
-------------

[](#documentation)

Take a look at the [documentation table of contents](doc/README.md). This documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff75dd743554f0a2dbf6f1a9267de79b8eb2535336e2580877de26fd19b76064?d=identicon)[osama\_eg](/maintainers/osama_eg)

---

Top Contributors

[![mrosama](https://avatars.githubusercontent.com/u/4074232?v=4)](https://github.com/mrosama "mrosama (12 commits)")

### Embed Badge

![Health badge](/badges/d-bmysql-d-bmysql/health.svg)

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

PHPackages © 2026

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