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.94 | 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,051 | 1,054 | 55 | 6M | 13 | 22.1 | 57.6 | MIT | 11 months ago | |
| ricardofiorani/guzzle-psr18-adapter | 0.91 | Tiny adapter that lets you use Guzzle as a PSR-18 HTTP client. Bridges PSR-7 requests/responses and promises to the PSR-18 ClientInterface, easing migration to standards-based HTTP without rewriting existing Guzzle integrations. | 14 | 14 | 3 | 1K | 0 | 2.1 | 26.0 | MIT | 5 years ago | |
| php-http/message | 0.91 | PSR-7 HTTP message utilities for PHP: authentication implementations, stream encoders, message decorators, cookie handling, request matchers, and PSR-7 factory adapters for Guzzle and Diactoros—handy building blocks for HTTP clients and workflows. | 1,313 | 1,317 | 40 | 7M | 5 | 17.1 | 51.4 | MIT | 2 years ago | |
| php-http/discovery | 0.91 | Auto-discovery for HTTP clients and factories: finds PSR-18 clients and PSR-17/PSR-7 implementations at runtime, so libraries can depend on interfaces without forcing a specific vendor. Includes a Composer plugin for optional auto-installation. | 1,327 | 1,333 | 48 | 16M | 3 | 18.0 | 56.2 | MIT | 2 years ago | |
| symfony/http-client-contracts | 0.90 | 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,974 | 1,975 | 0 | 13M | 0 | 28.9 | 60.6 | MIT | 2 months ago | |
| alextartan/guzzle-psr18-adapter | 0.90 | 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.3 | Apache-2.0 | 5 years ago | |
| dormilich/http-client | 0.90 | 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 | — | |
| jord-jd/psr-18-guzzle-adapter | 0.90 | A simple PSR-18 adapter for Guzzle, supporting PHP 7.1+ with Guzzle 6 or 7. It keeps Guzzle 6 projects compatible with PSR-18 clients and normalizes Guzzle exceptions to the PSR-18 exception interfaces. | 9 | 9 | 7 | 24K | 0 | 16.6 | 52.6 | LGPL-3.0 | 3 months ago | |
| psr-discovery/http-client-implementations | 0.90 | 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 | 725K | 0 | 9.2 | 58.6 | MIT | 7 months ago | |
| nyholm/psr7 | 0.90 | Nyholm PSR-7 is a super lightweight, strict, and fast implementation of PSR-7 with full PSR-17 factories and HTTPlug/PSR-18 compatibility. Create requests, streams, URIs, and server requests with minimal overhead. | 1,277 | 1,297 | 77 | 14M | 4 | 17.0 | 56.1 | MIT | 2 years ago | |
| dormilich/http-client-bundle | 0.90 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| digital-link/httpclient | 0.90 | 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 | — | — | — | |
| psr/log | 0.90 | PSR-3 logging interfaces for PHP. Provides LoggerInterface, traits, and related classes to standardize how libraries accept and emit log messages. Not a logger implementation—use it to type-hint a logger or build your own PSR-3 compliant logger. | 10,413 | 10,601 | 194 | 30M | 0 | 34.6 | 47.9 | MIT | 2 years ago | |
| loophp/psr17 | 0.90 | loophp/psr17 provides a PSR-17 HTTP message factory implementation for PHP, helping you create PSR-7 requests, responses, streams, URIs, and uploaded files in a standards-compliant way. Suitable for libraries and middleware needing PSR factories. | 1 | 1 | 0 | 8K | 1 | 3.5 | 54.2 | MIT | 3 years ago | |
| php-http/psr7-integration-tests | 0.89 | A PHPUnit-based integration test suite for PSR-7 HTTP message implementations. It verifies requests, responses, streams, URIs, and headers against the PSR-7 specification, helping libraries like Guzzle, Laminas, Slim, and Nyholm ensure compliance. | 41 | 42 | 23 | 3K | 1 | 22.8 | 30.1 | MIT | 2 weeks ago | |
| php-soap/psr18-transport | 0.89 | PSR-18 transport for php-soap, letting you drive SOAP clients through any PSR-18 HTTP client. Swap in your preferred HTTP library, keep full control of requests and middleware, and integrate SOAP cleanly with modern PHP HTTP stacks. | 18 | 18 | 5 | 249K | 1 | 9.8 | 59.8 | MIT | 6 months ago | |
| api-check/php-symfony-client | 0.89 | — | 0 | 0 | 0 | 0 | 0 | 9.4 | — | MIT | 7 months ago | |
| toin0u/http-adapter | 0.89 | A lightweight HTTP adapter for PHP that wraps different HTTP clients behind a single consistent interface, letting you swap cURL, Guzzle, or other backends without changing application code. Ideal for flexible, decoupled request handling. | 6 | 7 | 1 | 400 | 1 | 0.2 | 24.3 | MIT | — | |
| swlib/http | 0.89 | swlib/http is a lightweight HTTP message library for PHP and Swoole, providing request, response, URI, and stream objects for coroutine-friendly clients and servers. It offers a simple foundation for building HTTP interactions without heavy framework dependencies. | 11 | — | 7 | — | 0 | 0.5 | — | MIT | 6 years ago |
|
| psr/http-message | 0.89 | 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,026 | 7,116 | 185 | 22M | 0 | 37.7 | 56.3 | MIT | 3 years ago |
How can I help you explore Laravel packages today?