Skip to content

Commit 76494e6

Browse files
committed
Add installation section to Readme
1 parent 53b31f3 commit 76494e6

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Table of Contents
1717
* [Writing files](#writing-files)
1818
* [Directory object](#directory-object)
1919
* [List contents](#list-contents)
20-
4. [License](#license)
20+
4. [Install](#install)
21+
5. [License](#license)
2122

2223
Introduction
2324
------------
@@ -129,6 +130,17 @@ $filesystem->dir(__DIR__)->ls()->then(function (\SplObjectStorage $list) {
129130
});
130131
```
131132

133+
Install
134+
-------
135+
The recommended way to install this library is [through Composer](https://getcomposer.org).
136+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
137+
138+
This will install the latest supported version:
139+
140+
```bash
141+
$ composer require react/filesystem:^0.1.0
142+
```
143+
132144
License
133145
-------
134146

0 commit comments

Comments
 (0)