The recommended way to install reactphp-mysql is through composer.
{
"require": {
"react/mysql": "0.2.*"
}
}
This is a mysql driver for reactphp, It is written in pure PHP, implemented the mysql protocol.
See examples for usage details.
Thanks to the following projects.
- phpdaemon: the mysql protocol implemention based some code of the project.
- node-mysql: take some inspirations from this project for API design.