Skip to content

Commit 854f02a

Browse files
authored
Merge pull request #33 from clue-labs/friends-of-reactphp
Migrate to @friends-of-reactphp, thank you @bixuehujin!
2 parents 80527df + 9993aaa commit 854f02a

File tree

2 files changed

+34
-25
lines changed

2 files changed

+34
-25
lines changed

README.md

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
1-
reactphp-mysql
2-
===============
1+
# MySQL
32

4-
## Install
5-
6-
The recommended way to install reactphp-mysql is through [composer](http://getcomposer.org).
7-
8-
```
9-
{
10-
"require": {
11-
"react/mysql": "0.2.*"
12-
}
13-
}
14-
```
15-
16-
## Introduction
17-
18-
This is a mysql driver for [reactphp](https://github.com/reactphp/react), It is written
19-
in pure PHP, implemented the mysql protocol.
3+
Async, [Promise](https://github.com/reactphp/promise)-based MySQL database client
4+
for [ReactPHP](https://reactphp.org/).
205

21-
See examples for usage details.
6+
This is a MySQL database driver for [ReactPHP](https://reactphp.org/).
7+
It implements the MySQL protocol and allows you to access your existing MySQL
8+
database.
9+
It is written in pure PHP and does not require any extensions.
2210

2311
## Usage
2412

@@ -61,10 +49,31 @@ $connector = new \React\Socket\Connector($loop, array(
6149
$connection = new Connection($loop, $options, $connector);
6250
```
6351

64-
## Thanks
52+
## Install
53+
54+
The recommended way to install this library is [through Composer](https://getcomposer.org).
55+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
56+
57+
This will install the latest supported version:
58+
59+
```bash
60+
$ composer require react/mysql:^0.2
61+
```
62+
63+
## License
64+
65+
MIT, see [LICENSE file](LICENSE).
6566

66-
Thanks to the following projects.
67+
This is a community project now managed by
68+
[@friends-of-reactphp](https://github.com/friends-of-reactphp).
69+
The original implementation was created by
70+
[@bixuehujin](https://github.com/bixuehujin) starting in 2013 and has been
71+
migrated to [@friends-of-reactphp](https://github.com/friends-of-reactphp) in
72+
2018 to help with maintenance and upcoming feature development.
6773

68-
* [phpdaemon](https://github.com/kakserpom/phpdaemon): the mysql protocol implemention based some code of the project.
69-
* [node-mysql](https://github.com/felixge/node-mysql): take some inspirations from this project for API design.
74+
The original implementation was made possible thanks to the following projects:
7075

76+
* [phpdaemon](https://github.com/kakserpom/phpdaemon): the MySQL protocol
77+
implementation is based on code of this project (with permission).
78+
* [node-mysql](https://github.com/felixge/node-mysql): the API design is
79+
inspired by this project.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react/mysql",
3-
"description": "mysql driver for reactphp.",
4-
"keywords": ["mysql", "php", "reactphp"],
3+
"description": "Async, Promise-based MySQL database client for ReactPHP.",
4+
"keywords": ["mysql", "promise", "async", "reactphp"],
55
"license": "MIT",
66
"require": {
77
"php": ">=5.4.0",

0 commit comments

Comments
 (0)