Skip to content

Commit eb8b098

Browse files
committed
clarify that you do not need to require the interfaces explicitly when requiring an implementation
1 parent eac7fa0 commit eb8b098

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/httplug.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ Note: Until Httplug 1.0 becomes stable, we will focus on the Guzzle6 adapter.
2020

2121
## Usage in a project
2222

23-
When writing an application, you should require a concrete client implementation. The client will in turn depend on `php-http/httplug`.
23+
When writing an application, you need to require a concrete [client implementation](https://packagist.org/providers/php-http/client-implementation). The client will in turn depend on `php-http/httplug`, thus you do not need to duplicate the dependency on `php-http/httplug` in your composer.json file.
2424

25-
A few things should be taken into consideration before choosing an adapter:
26-
27-
- It is possible that some other dependency already has an HTTP Client requirement like Guzzle 6. It can be confusing to have more than one HTTP Client installed, so always check your other requirements and choose an adapter based on that.
25+
Choose the client based on your personal preferences or dependencies of your project. If your preferred client has no Httplug adapter, submit one.
2826

2927

3028
## Installation in a reusable package

0 commit comments

Comments
 (0)