Skip to content

Commit de7151c

Browse files
committed
Merge pull request #14 from mattwells/master
docs: updated composer install instructions
2 parents 3a802cb + 2a43b4e commit de7151c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,17 @@ This library is compatible with HTML5 file upload library: https://github.com/fl
1212

1313
How to get started?
1414
--------------
15-
Download composer https://getcomposer.org/download/.
15+
Setup Composer: https://getcomposer.org/doc/00-intro.md
1616

17-
Clone repository:
17+
Run this command in your project:
1818
```
19-
git clone https://github.com/flowjs/flow-php-server.git
19+
composer require flowjs/flow-php-server
2020
```
21-
Go to the cloned directory:
22-
```
23-
cd flow-php-server
24-
```
25-
Use composer to download dependencies and autoload PHP classes.
26-
```
27-
composer install
28-
```
29-
This will create a vendor directory for you, which contains an autoload.php file.
21+
This will create a vendor directory for you, which contains an autoload.php file.
3022

3123
Create a new php file named `upload.php`:
3224
```php
33-
//Path to autoload.php from current location
25+
//Path to autoload.php from current location
3426
require_once './vendor/autoload.php';
3527

3628
$config = new \Flow\Config();

0 commit comments

Comments
 (0)