PHPackages                             boxunphp/mysql - 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. boxunphp/mysql

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

boxunphp/mysql
==============

PHP Mysql Client

v2.1.2(4y ago)1111MITPHPPHP ^7.2CI failing

Since Dec 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/boxunphp/mysql)[ Packagist](https://packagist.org/packages/boxunphp/mysql)[ RSS](/packages/boxunphp-mysql/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (3)Versions (11)Used By (1)

php-mysql
=========

[](#php-mysql)

PHP Mysql Client

Configure
---------

[](#configure)

```
$config = [
    'master' => [
        'host' => 'mysql-3306',
        'port' => 3306,
        'username' => 'root',
        'password' => '123456',
        'dbname' => 'test',
        'charset' => 'utf8',
    ],
    'slaves' => [
        [
            'host' => 'mysql-3307',
            'port' => 3307,
            'username' => 'root',
            'password' => '123456',
            'dbname' => 'test',
            'charset' => 'utf8',
        ],
        [
            'host' => 'mysql-3308',
            'port' => 3308,
            'username' => 'root',
            'password' => '123456',
            'dbname' => 'test',
            'charset' => 'utf8',
        ],
    ],
    'connect_timeout' => 1,
    'timeout' => 1,
    'is_persistent' => true,
];
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Every ~74 days

Recently: every ~126 days

Total

10

Last Release

1729d ago

Major Versions

v1.4 → v2.02020-06-24

PHP version history (2 changes)v1.0.0PHP ^7.1

v1.4PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3032202?v=4)[Jordy](/maintainers/boxunsoft)[@boxunsoft](https://github.com/boxunsoft)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/boxunphp-mysql/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

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

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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