File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -12,25 +12,17 @@ This library is compatible with HTML5 file upload library: https://github.com/fl
12
12
13
13
How to get started?
14
14
--------------
15
- Download composer https://getcomposer.org/download/ .
15
+ Setup Composer: https://getcomposer.org/doc/00-intro.md
16
16
17
- Clone repository :
17
+ Run this command in your project :
18
18
```
19
- git clone https://github.com/ flowjs/flow-php-server.git
19
+ composer require flowjs/flow-php-server
20
20
```
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.
30
22
31
23
Create a new php file named ` upload.php ` :
32
24
``` php
33
- //Path to autoload.php from current location
25
+ //Path to autoload.php from current location
34
26
require_once './vendor/autoload.php';
35
27
36
28
$config = new \Flow\Config();
You can’t perform that action at this time.
0 commit comments