Skip to content

Commit 9a72fed

Browse files
committed
docs: improve installation
1 parent 007c483 commit 9a72fed

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,12 @@ $iterable->asArray(); // array ['banana', 'pineapple']
190190
Installation
191191
============
192192

193-
With composer (they'll be autoloaded):
194-
195193
```
196-
composer require bentools/iterable-functions
194+
composer require bentools/iterable-functions:^2.0
197195
```
198196

199-
Or manually:
197+
For PHP5+ compatibility, check out the [1.x branch](https://github.com/bpolaszek/php-iterable-functions/tree/1.x).
200198

201-
```php
202-
require_once '/path/to/this/library/src/iterable-functions.php';
203-
```
204199

205200
Unit tests
206201
==========

0 commit comments

Comments
 (0)