Skip to content

Commit 6231ba8

Browse files
committed
Add installation guide and license to README
1 parent be67fbf commit 6231ba8

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,29 @@ $loop->run();
5353
If the first call returns before the second, only one query will be executed.
5454
The second result will be served from cache.
5555

56+
## Install
57+
58+
The recommended way to install this library is [through Composer](http://getcomposer.org).
59+
[New to Composer?](http://getcomposer.org/doc/00-intro.md)
60+
61+
This will install the latest supported version:
62+
63+
```bash
64+
$ composer require react/dns:~0.4.0
65+
```
66+
67+
If you care a lot about BC, you may also want to look into supporting legacy versions:
68+
69+
```bash
70+
$ composer require "react/dns:~0.4.0|~0.3.0"
71+
```
72+
73+
More details and upgrade guides can be found in the [CHANGELOG](CHANGELOG.md).
74+
75+
## License
76+
77+
MIT, see [LICENSE file](LICENSE).
78+
5679
## References
5780

5881
* [RFC 1034](http://tools.ietf.org/html/rfc1034) Domain Names - Concepts and Facilities

0 commit comments

Comments
 (0)