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,050 | 1,053 | 53 | 4M | 12 | 29.3 | 58.1 | MIT | 6 months ago | |
| jord-jd/psr-18-guzzle-adapter | 0.88 | Simple PSR-18 adapter for the Guzzle HTTP client, letting you use Guzzle wherever a PSR-18 (ClientInterface) implementation is required. Lightweight, focused package for bridging PSR-compliant libraries with Guzzle. | 9 | 9 | 7 | 350 | 0 | 16.2 | 23.7 | LGPL-3.0 | 3 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,048 | 7,131 | 186 | 18M | 0 | 37.7 | 55.0 | MIT | 3 years ago | |
| digital-link/httpclient | 0.87 | Lightweight Laravel/PHP HTTP client wrapper for making outbound requests with a clean, simple API. Provides convenient helpers for common methods, headers, and payloads to speed up calling external APIs in your applications. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| 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,594 | 2,602 | 40 | 6M | 1 | 18.3 | 46.1 | MIT | 1 year ago | |
| dormilich/http-client | 0.87 | Lightweight PHP HTTP client wrapper focused on simple requests and responses, with a clean API for common HTTP methods and header/body handling. Useful as a minimal dependency for sending HTTP calls without a full-featured framework. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| boson-php/symfony-http-bridge | 0.86 | Bridge package connecting Boson PHP with Symfony HttpFoundation, providing adapters to translate requests and responses between the two ecosystems for smoother interoperability when mixing Boson components with Symfony-based HTTP handling. | 1 | 1 | 0 | 13 | 0 | 0.0 | 12.1 | MIT | — | |
| ci/restclientbundle | 0.86 | — | 57 | 57 | 19 | 2K | 10 | 7.8 | 24.4 | GPL-3.0 | 7 years ago | |
| brzuchal/rest-client | 0.86 | — | 0 | 0 | 0 | 21 | 0 | 0.0 | 18.5 | MIT | — | |
| egeloen/http-adapter-bundle | 0.86 | — | 3 | 3 | 2 | 0 | 0 | 0.1 | — | MIT | — | |
| chaplean/rest-client-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| pdeans/http | 0.85 | Lightweight PSR-7 cURL HTTP client with PSR-17 factory support, built on Laminas Diactoros. Configure via curl options and use helper methods for GET/POST/PUT/PATCH/DELETE/HEAD/TRACE with headers and optional body streams/resources. | 14 | 14 | 2 | 45 | 0 | 2.5 | 9.0 | NOASSERTION | 1 year ago | |
| athlon1600/php-curl-client | 0.85 | Lightweight, extensible PHP cURL client (PHP 7.3–8.4). Make GET/POST or fully customized requests and always receive a standardized Response with status, body, error, and typed cURL info for IDE autocomplete. | 13 | 13 | 7 | 2K | 0 | 15.1 | 32.3 | MIT | 4 months ago | |
| psr-discovery/http-client-implementations | 0.85 | Discovers an installed PSR-18 HTTP client at runtime by checking for well-known implementations and returning the first available instance. Ideal for SDKs/libraries to support PSR-18 without hard dependencies or extra user configuration. | 7 | 7 | 5 | 458K | 0 | 18.4 | 63.1 | MIT | 2 months ago | |
| alextartan/guzzle-psr18-adapter | 0.85 | PSR-18 HTTP client adapter for Guzzle. Wraps Guzzle to provide a PSR-18 ClientInterface, letting you send PSR-7 requests and receive PSR-7 responses with standard client/network/request exceptions. Requires PHP 7.2+. | 2 | 3 | 0 | 5K | 0 | 2.8 | 44.2 | Apache-2.0 | 5 years ago | |
| dormilich/http-client-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| symfony/http-client-contracts | 0.82 | 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,978 | 1,979 | 0 | 8M | 0 | 30.5 | 58.0 | MIT | 4 weeks ago | |
| psr/http-factory | 0.82 | 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,889 | 1,893 | 25 | 17M | 0 | 10.8 | 54.6 | MIT | 2 years ago | |
| symfony/http-client | 0.81 | Symfony HttpClient provides a robust API to fetch HTTP resources synchronously or asynchronously. It supports modern features like concurrent requests and streaming, and integrates cleanly with the Symfony ecosystem for building reliable HTTP clients. | 2,038 | 2,052 | 51 | 8M | 0 | 46.7 | 58.1 | MIT | 1 week ago | |
| ajgarlag/psr-http-message-bundle | 0.81 | — | 8 | 8 | 2 | 13K | 1 | 2.6 | 42.3 | MIT | 3 years ago |
How can I help you explore Laravel packages today?