Skip to content

Commit 380da62

Browse files
committed
Update README.md
1 parent 30998f2 commit 380da62

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Lightweight library that discovers available [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/) implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.**
22

3-
This package is part of the [psr-discovery/discovery](https://github.com/psr-discovery/discovery) PSR discovery collection, which also supports [PSR-17 HTTP Factories](https://github.com/psr-discovery/http-factory-implementations), [PSR-14 Event Dispatchers](https://github.com/psr-discovery/event-dispatcher-implementations), [PSR-11 Containers](https://github.com/psr-discovery/container-implementations), [PSR-6 Cache](https://github.com/psr-discovery/cache-implementations) and [PSR-3 Loggers](https://github.com/psr-discovery/log-implementations).
3+
This package is part of the [psr-discovery](https://github.com/psr-discovery/discovery) collection, which also supports [PSR-17 HTTP Factories](https://github.com/psr-discovery/http-factory-implementations), [PSR-14 Event Dispatchers](https://github.com/psr-discovery/event-dispatcher-implementations), [PSR-11 Containers](https://github.com/psr-discovery/container-implementations), [PSR-6 Cache](https://github.com/psr-discovery/cache-implementations) and [PSR-3 Loggers](https://github.com/psr-discovery/log-implementations).
44

55
This is largely intended for inclusion in libraries like SDKs that wish to support PSR-18 HTTP Clients without requiring hard dependencies on specific implementations or demanding extra configuration by users.
66

@@ -24,22 +24,22 @@ Successful discovery requires the presence of a compatible implementation in the
2424

2525
## Implementations
2626

27-
The discovery of available implementations is based on [a list of well-known libraries](https://packagist.org/providers/psr/http-client-implementation) that support the `psr/http-client-implementation` interface. These include:
27+
The following `psr/http-client-implementation` implementations are discovered and instantiated automatically:
2828

2929
- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) ^7.0
30-
- [symfony/http-client](https://github.com/symfony/http-client) ^4.3 | ^5.0 | ^6.0
30+
- [kriswallsmith/buzz](https://github.com/kriswallsmith/Buzz) ^1.0
31+
- [php-http/curl-client](https://github.com/php-http/curl-client) ^2.1
32+
- [php-http/guzzle5-adapter](https://github.com/php-http/guzzle5-adapter) ^2.0
3133
- [php-http/guzzle6-adapter](https://github.com/php-http/guzzle6-adapter) ^2.0
3234
- [php-http/guzzle7-adapter](https://github.com/php-http/guzzle7-adapter) ^0.1 | ^1.0
33-
- [php-http/curl-client](https://github.com/php-http/curl-client) ^2.1
34-
- [kriswallsmith/buzz](https://github.com/kriswallsmith/Buzz) ^1.0
3535
- [php-http/socket-client](https://github.com/php-http/socket-client) ^2.0
36-
- [php-http/guzzle5-adapter](https://github.com/php-http/guzzle5-adapter) ^2.0
36+
- [symfony/http-client](https://github.com/symfony/http-client) ^4.3 | ^5.0 | ^6.0
3737
- [voku/httpful](https://github.com/voku/httpful) ^2.2
3838

3939
The following mock implementations are also available:
4040

41-
- [psr-mock/http-client-implementation](https://github.com/psr-mock/http-client-implementation) ^1.0
4241
- [php-http/mock-client](https://github.com/php-http/mock-client) ^1.5
42+
- [psr-mock/http-client-implementation](https://github.com/psr-mock/http-client-implementation) ^1.0
4343

4444
If [a particular implementation](https://packagist.org/providers/psr/http-client-implementation) is missing that you'd like to see, please open a pull request adding support.
4545

0 commit comments

Comments
 (0)