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

ActiveLibrary

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

PHP Mysql Client

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

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 1mo ago

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

1681d 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://www.gravatar.com/avatar/58f52e37e1511a3621d9da7fdec2ce64d281b3050a39ec22470b630aa89480b2?d=identicon)[boxunsoft](/maintainers/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)
```

PHPackages © 2026

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