psr/http-client
PSR-18 interfaces and common code for HTTP clients in PHP. This package provides the standard abstractions (requests, responses, exceptions) for interoperability, not an actual client implementation. Find compatible implementations on Packagist.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-http/client-common | 0.90 | Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling. | 1,049 | 1,052 | 53 | 4M | 12 | 39.6 | 63.7 | MIT | 4 months ago | |
| psr/http-message | 0.88 | PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types. | 7,097 | 7,212 | 187 | 17M | 0 | 57.7 | 64.3 | MIT | 2 years ago | |
| php-http/httplug | 0.87 | HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations. | 2,593 | 2,607 | 40 | 5M | 1 | 38.3 | 53.9 | MIT | 1 year ago | |
| symfony/http-client | 0.86 | Symfony HttpClient provides a modern API to fetch HTTP resources synchronously or asynchronously. Supports efficient streaming, retries, and multiple transports, making it easy to integrate robust HTTP requests into Symfony or any PHP app. | 2,033 | 2,047 | 52 | 7M | 0 | 43.1 | 57.7 | MIT | 1 week ago | |
| symfony/http-client-contracts | 0.84 | Symfony HttpClient Contracts provides stable interfaces for HTTP clients and responses, extracted from Symfony. Build libraries against these battle-tested abstractions and swap implementations easily while staying compatible with Symfony’s HttpClient ecosystem. | 1,990 | 1,991 | 1 | 8M | 0 | 31.5 | 58.1 | MIT | 5 years ago | |
| psr/http-factory | 0.83 | PSR-17 HTTP message factory interfaces for creating requests, responses, streams, URIs, and uploaded files. This package provides only the standard interfaces (no implementation). Find compatible implementations on Packagist. | 1,887 | 1,899 | 25 | 16M | 0 | 30.8 | 63.7 | MIT | 1 year ago | |
| apimatic/core-interfaces | 0.82 | Core PHP interfaces used by APIMatic SDK tooling, defining contracts for requests, responses, context, authentication managers, logging, parameter validation, and HTTP client configuration. Supports PHP 7.2–8.2. | 7 | 7 | 2 | 221K | 0 | 21.9 | 65.0 | MIT | 1 year ago | |
| amphp/http-client | 0.80 | Async HTTP client for PHP built on Amp. Send concurrent requests with connection pooling, timeouts, redirects, proxies, TLS support, and streaming request/response bodies. Includes PSR-7/PSR-18 integration and middleware-style interceptors. | 728 | 730 | 66 | 663K | 11 | 38.1 | 53.5 | MIT | 7 months ago | |
| guzzlehttp/guzzle | 0.80 | Guzzle is a PHP HTTP client for sending sync or async requests with an easy API. Built on PSR-7 and PSR-18, supports middleware, cookies, streaming uploads/downloads, and JSON. Transport-agnostic for flexible integrations. | 23,450 | 24,300 | 2,382 | 16M | 16 | 75.5 | 60.2 | MIT | 7 months ago |
How can I help you explore Laravel packages today?