Skip to content

Commit 2812a85

Browse files
committed
Merge pull request #22 from Swader/patch-1
Update discovery.md
2 parents f1b2b86 + 840754c commit 2812a85

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/discovery.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Currently available discovery services:
1111

1212
The principle is always the same: you call the static `find` method on the discovery service if no explicit implementation was specified. The discovery service will try to locate a suitable implementation. If no implementation is found, an `Http\Discovery\NotFoundException` is thrown.
1313

14+
## Installation
15+
16+
```
17+
composer require "php-http/discovery"
18+
```
1419

1520
## HTTP Client Discovery
1621

@@ -40,7 +45,7 @@ class MyClass
4045

4146
## PSR-7 Message Factory Discovery
4247

43-
This type of discovery finds installed [PSR-7](http://www.php-fig.org/psr/psr-7/) Message implementations and their (factories)[message-factory.md].
48+
This type of discovery finds installed [PSR-7](http://www.php-fig.org/psr/psr-7/) Message implementations and their [factories](message-factory.md).
4449

4550
``` php
4651
use Http\Message\MessageFactory;

0 commit comments

Comments
 (0)