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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pdeans/http | 0.91 | 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 | 109 | 0 | 2.5 | 12.7 | NOASSERTION | 1 year ago | |
| psr/http-message | 0.91 | 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 | |
| php-http/socket-client | 0.90 | 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 | 115K | 0 | 9.9 | 44.9 | MIT | 9 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 | |
| php-http/discovery | 0.90 | 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 | |
| php-http/httplug | 0.89 | 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,586 | 2,599 | 40 | 7M | 1 | 18.2 | 47.4 | MIT | 2 years ago | |
| php-http/plugins | 0.89 | 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 | 514 | 0 | 0.8 | 22.2 | MIT | 10 years ago | |
| php-http/mock-client | 0.89 | 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 | 16 | 266K | 0 | 6.0 | 49.3 | MIT | 2 years ago | |
| psr/http-client | 0.89 | 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,717 | 1,728 | 17 | 29M | 0 | 11.2 | 55.3 | 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-http/curl-client | 0.89 | — | 484 | 490 | 29 | 744K | 11 | 18.5 | 48.5 | MIT | 10 months ago | |
| php-http/client-integration-tests | 0.89 | Integration test suite for PHP HTTP clients and adapters. Provides a shared test server and PHPUnit testsuite so you can verify that your client correctly implements the PSR-18 and HTTPlug contracts against real HTTP requests. | 16 | 17 | 10 | 555 | 1 | 19.6 | 23.7 | MIT | 4 months ago | |
| nyholm/psr7 | 0.88 | 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 | |
| php-http/message | 0.88 | 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,312 | 1,317 | 40 | 7M | 5 | 17.1 | 53.1 | MIT | 2 years ago | |
| hyperf/guzzle | 0.88 | — | 9 | 10 | 9 | 56K | 5 | 26.8 | 60.0 | MIT | 5 months ago | |
| php-http/react-adapter | 0.88 | ReactPHP adapter for the PHP-HTTP httplug abstraction. It lets you send asynchronous, non-blocking HTTP requests through ReactPHP's event loop using the standard httplug and PSR-7 interfaces, so existing client code keeps working unchanged. | 19 | — | 8 | — | 2 | 20.3 | — | MIT | 1 week ago |
|
| php-curl-class/php-curl-class | 0.88 | PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs. A simple, feature-rich wrapper around cURL for GET, POST, downloads, and more, with clean error handling and broad PHP 8.x support. | 3,297 | 3,382 | 801 | 178K | 0 | 59.9 | 28.2 | Unlicense | 2 weeks ago | |
| boson-php/http | 0.88 | Lightweight HTTP client utilities for PHP. Provides simple request/response handling with a focus on clear, minimal APIs suitable for small services, scripts, and internal tools. Designed to keep dependencies low while staying easy to extend and integrate. | 0 | 0 | 0 | 59 | 0 | 0.0 | 24.6 | MIT | — | |
| php-http/httplug-bundle | 0.88 | — | 390 | 391 | 50 | 301K | 5 | 23.4 | 44.3 | MIT | 6 months ago | |
| m6web/guzzle-http-bundle | 0.88 | Symfony bundle that integrates the Guzzle HTTP client into your application. Configure Guzzle clients in bundle configuration, inject them as services, and make outbound HTTP calls cleanly. Built-in logging and Symfony profiler integration help you inspect and debug requests and responses. | 17 | 17 | 9 | 1K | 1 | 15.0 | 29.7 | MIT | 3 months ago |
How can I help you explore Laravel packages today?