2017 © Pedro Peláez
 

library react-mysqli

Asynchronous & non-blocking MySQL driver for React.PHP

image

pahenrus/react-mysqli

Asynchronous & non-blocking MySQL driver for React.PHP

  • Monday, February 19, 2018
  • by Pavel Kozlov
  • Repository
  • 1 Watchers
  • 1 Stars
  • 151 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 17 Forks
  • 0 Open issues
  • 7 Versions
  • 5 % Grown

The README.md

React MySQLi

Asynchronous & non-blocking MySQLi driver for React.PHP., (*1)

Require php-mysqlnd extension, (*2)

Install

composer require pahenrus/react-mysqli

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();

The Versions

19/02 2018

dev-master

9999999-dev

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

MIT None

The Requires

 

by Avatar Pavel Kozlov

19/02 2018

1.0.5

1.0.5.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

MIT

The Requires

 

by Avatar Pavel Kozlov

23/03 2016

v1.0.4

1.0.4.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

None

The Requires

 

by Avatar Pavel Kozlov

27/12 2015

v1.0.3

1.0.3.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

None

The Requires

 

by Avatar Pavel Kozlov

12/11 2015

1.0.2

1.0.2.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

None

The Requires

 

by Avatar Pavel Kozlov

10/11 2015

v1.0.1

1.0.1.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

None

The Requires

 

by Avatar Pavel Kozlov

05/11 2015

v1.0

1.0.0.0

Asynchronous & non-blocking MySQL driver for React.PHP

  Sources   Download

None

The Requires

 

by Avatar Pavel Kozlov