Skip to content

Commit 4a65b8c

Browse files
committed
Improve documentation
1 parent 92c7efb commit 4a65b8c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/vendor
21
/composer.lock
2+
/vendor/

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Once [installed](#install), you can use the following code to access the
5858
Docker API of your local docker daemon:
5959

6060
```php
61+
<?php
62+
63+
require __DIR__ . '/vendor/autoload.php';
64+
6165
$client = new Clue\React\Docker\Client();
6266

6367
$client->imageSearch('clue')->then(function (array $images) {
@@ -379,7 +383,7 @@ See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
379383

380384
This project aims to run on any platform and thus does not require any PHP
381385
extensions and supports running on legacy PHP 5.3 through current PHP 8+.
382-
It's *highly recommended to use PHP 7+* for this project.
386+
It's *highly recommended to use the latest supported PHP version* for this project.
383387

384388
## Tests
385389

@@ -393,7 +397,7 @@ $ composer install
393397
To run the test suite, go to the project root and run:
394398

395399
```bash
396-
$ php vendor/bin/phpunit
400+
$ vendor/bin/phpunit
397401
```
398402

399403
## License

0 commit comments

Comments
 (0)