PHPackages                             pahenrus/react-mysqli - 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. pahenrus/react-mysqli

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

pahenrus/react-mysqli
=====================

Asynchronous &amp; non-blocking MySQL driver for React.PHP

1.0.5(8y ago)11982MITPHPPHP &gt;=5.4.0

Since Nov 5Pushed 8y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

React MySQLi
============

[](#react-mysqli)

Asynchronous &amp; non-blocking MySQLi driver for [React.PHP](https://github.com/reactphp/react).

Require [php-mysqlnd](http://php.net/manual/ru/book.mysqlnd.php) extension

Install
-------

[](#install)

```
composer require pahenrus/react-mysqli
```

Example
-------

[](#example)

```
$loop = \React\EventLoop\Factory::create();

$makeConnection = function () {
    return mysqli_connect('localhost', 'vagrant', '', 'test');
};

$mysql = new \React\MySQLi\Client($loop, new \React\MySQLi\Pool($makeConnection, 10));

$mysql->query('select * from test')->then(
    function (\React\MySQLi\Result $result) {
        print_r($result->all());
    },
    function ($error) {
        error_log($error);
    }
);

$loop->run();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 63% 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 ~167 days

Recently: every ~208 days

Total

6

Last Release

3057d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6052195b05dd7b699d7d586093d74faa5cc740ca07907929ee66905b148b9e10?d=identicon)[Pavel Kozlov](/maintainers/Pavel%20Kozlov)

---

Top Contributors

[![pahenrus](https://avatars.githubusercontent.com/u/7957326?v=4)](https://github.com/pahenrus "pahenrus (17 commits)")[![KhristenkoYura](https://avatars.githubusercontent.com/u/570035?v=4)](https://github.com/KhristenkoYura "KhristenkoYura (7 commits)")[![kaja47](https://avatars.githubusercontent.com/u/127853?v=4)](https://github.com/kaja47 "kaja47 (1 commits)")[![mkoubik](https://avatars.githubusercontent.com/u/136466?v=4)](https://github.com/mkoubik "mkoubik (1 commits)")[![uorypm](https://avatars.githubusercontent.com/u/12044580?v=4)](https://github.com/uorypm "uorypm (1 commits)")

### Embed Badge

![Health badge](/badges/pahenrus-react-mysqli/health.svg)

```
[![Health](https://phpackages.com/badges/pahenrus-react-mysqli/health.svg)](https://phpackages.com/packages/pahenrus-react-mysqli)
```

###  Alternatives

[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.2k341.0k1](/packages/ccxt-ccxt)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[clue/redis-react

Async Redis client implementation, built on top of ReactPHP.

28316.2M47](/packages/clue-redis-react)

PHPackages © 2026

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