Skip to content

Commit accc1dd

Browse files
committed
doc improved
1 parent edf183e commit accc1dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

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

1313
Installation
1414
--------------
15-
For easy installation you need to have Composer installed, if you don't please read installation document for Composer at https://getcomposer.org.
15+
For easy installation you need to have Composer installed, if you don't please read installation document for Composer at https://getcomposer.org/download/.
1616

1717
Clone this repository first:
1818
```
1919
git clone https://github.com/flowjs/flow-php-server.git
2020
```
21-
then cd into the cloned directory:
21+
Then cd into the cloned directory:
2222
```
2323
cd flow-php-server
2424
```
25-
use composer to download dependencies and autoload PHP classes:
25+
Use composer to download dependencies and autoload PHP classes.
2626
```
2727
composer install
2828
```
29-
create a new php file for uploading files to it:
29+
This will create a vendor directory for you which contains an autoload.php file. Create a new php file:
3030
```
3131
touch upload.php
3232
```
3333
Edit upload.php and add these lines:
3434
```php
3535
namespace Flow;
36+
//Path to autoload.php from current location
3637
require_once './flow-php-server/vendor/autoload.php';
3738
```
3839
Note that you could also use ```use``` keyword to add each class inidividually into our current namespace. At this point you are ready to use flow. for more information about how to use it read Basic Usage section.

0 commit comments

Comments
 (0)