From 76494e69965772c5e427b295ea21407a9633a645 Mon Sep 17 00:00:00 2001 From: Zhuk Sergey Date: Thu, 8 Feb 2018 21:52:55 +0300 Subject: [PATCH] Add installation section to Readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8d9a15c..fdd03874 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ Table of Contents * [Writing files](#writing-files) * [Directory object](#directory-object) * [List contents](#list-contents) -4. [License](#license) +4. [Install](#install) +5. [License](#license) Introduction ------------ @@ -129,6 +130,17 @@ $filesystem->dir(__DIR__)->ls()->then(function (\SplObjectStorage $list) { }); ``` +Install +------- +The recommended way to install this library is [through Composer](https://getcomposer.org). +[New to Composer?](https://getcomposer.org/doc/00-intro.md) + +This will install the latest supported version: + +```bash +$ composer require react/filesystem:^0.1.0 +``` + License -------