php-http/client-common
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr/http-client | 0.90 | 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. | 1,722 | 1,732 | 17 | 16M | 0 | 11.2 | 54.8 | MIT | 2 years 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 | — | |
| php-http/httplug | 0.86 | 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 | |
| php-http/discovery | 0.85 | 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,322 | 1,328 | 47 | 8M | 3 | 17.9 | 53.2 | MIT | 1 year ago | |
| amphp/http-client | 0.84 | Asynchronous HTTP client for PHP built on Revolt with fibers and concurrency. Supports HTTP/1 & HTTP/2, concurrent requests, connection pooling, redirects, gzip/deflate decoding, streaming bodies, TLS by default, cookies/sessions, proxies, and custom methods—no ext/curl dependency. | 729 | 731 | 67 | 812K | 7 | 37.0 | 51.6 | MIT | 3 weeks ago | |
| php-http/socket-client | 0.84 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 63K | 0 | 18.8 | 44.2 | MIT | 4 months ago | |
| php-http/message | 0.84 | 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,319 | 1,321 | 40 | 5M | 5 | 17.1 | 50.8 | MIT | 1 year ago | |
| php-http/plugins | 0.83 | Deprecated plugin collection for HTTPlug (php-http/plugins). Since v1.1 most plugins moved to php-http/client-common; logger, cache, and stopwatch live in separate packages. Use this package only for legacy compatibility. | 12 | 10 | 6 | 191 | 0 | 0.8 | 16.4 | MIT | 10 years ago | |
| php-http/httplug-bundle | 0.82 | — | 389 | 390 | 51 | 237K | 5 | 31.5 | 45.6 | MIT | 1 month ago | |
| digital-link/httpclient | 0.81 | 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/guzzle6-adapter | 0.80 | PSR-7/PSR-18 compatible adapter that lets you use Guzzle 6 as an HTTPlug HTTP client. Provides a bridge for sending requests through Guzzle while working with php-http contracts, useful for libraries that depend on standardized HTTP interfaces. | 1,349 | — | 54 | — | 2 | 4.4 | — | MIT | 5 years ago | |
| php-http/client-integration-tests | 0.79 | Integration test suite for PHP-HTTP clients. Helps verify that any HTTPlug/PSR-18 compatible client behaves correctly and consistently across common scenarios, making it easier to validate implementations and avoid regressions. | 16 | 17 | 9 | 3K | 1 | 14.5 | 33.2 | MIT | 5 months ago | |
| php-http/mock-client | 0.79 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 17 | 233K | 0 | 6.1 | 48.5 | MIT | 1 year ago | |
| guzzlehttp/guzzle | 0.79 | 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,444 | 24,291 | 2,386 | 17M | 2 | 71.0 | 47.4 | MIT | 1 week ago |
How can I help you explore Laravel packages today?