Skip to content

Commit ef6940c

Browse files
README update
1 parent 37024f1 commit ef6940c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ Add php-http-client to your `composer.json` file. If you are not using [Composer
4747

4848
Then at the top of your PHP script require the autoloader:
4949

50-
```bash
51-
require 'vendor/autoload.php';
50+
```php
51+
require __DIR__ . '/vendor/autoload.php';
5252
```
5353

54-
or
54+
Then from the command line:
5555

56-
`pear install php-http-client`
56+
```bash
57+
`composer install`
58+
```
5759

5860
## Usage ##
5961

0 commit comments

Comments
 (0)