php-http/promise
Common Promise implementation for PHP-HTTP clients. Provides a lightweight, interoperable way to handle async HTTP responses with then/catch chaining, wait/cancel support, and consistent behavior across multiple HTTP client adapters and PSR-7 message workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr/http-client | 0.88 | 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/plugins | 0.88 | 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/httplug-bundle | 0.87 | — | 390 | 391 | 50 | 301K | 5 | 23.4 | 44.3 | MIT | 6 months ago | |
| psr/link | 0.87 | PSR-13 link definition interfaces for PHP. Provides standard LinkInterface and LinkProviderInterface contracts used to describe and expose web links. Not an implementation—interfaces only; use a compatible psr/link-implementation package. | 2,488 | 2,504 | 13 | 3M | 0 | 12.8 | 42.6 | MIT | — | |
| php-http/client-integration-tests | 0.87 | 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 | |
| php-http/message | 0.87 | 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/psr7-integration-tests | 0.87 | 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 | |
| phpunit/php-code-coverage | 0.87 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. It provides drivers, filters, and report generation for PHPUnit test suites, including serialized coverage data and OpenClover output, helping teams track which lines of code tests execute. | 8,924 | 8,969 | 383 | 25M | 5 | 73.2 | 59.0 | BSD-3-Clause | 4 days ago | |
| php-http/curl-client | 0.87 | — | 484 | 490 | 29 | 744K | 11 | 18.5 | 48.5 | MIT | 10 months ago | |
| php-http/mock-client | 0.86 | 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 | |
| php-http/discovery | 0.86 | 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/client-common | 0.86 | 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 | |
| guzzlehttp/promises | 0.86 | Guzzle Promises is a small PHP promise library that powers Guzzle's asynchronous requests. It provides promise chaining, synchronous waiting, cancellation, and helpers for coordinating groups of promises. Install it directly when you need promise composition without the full HTTP client. | 7,705 | 7,749 | 132 | 18M | 2 | 57.1 | 55.8 | MIT | 2 weeks ago | |
| php-http/httplug | 0.85 | 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 | |
| psr/http-message | 0.85 | 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 | |
| symfony/http-client | 0.84 | Symfony HttpClient provides powerful methods to fetch HTTP resources synchronously or asynchronously, with a clean API for building requests, handling responses, streaming, and testing HTTP calls in PHP applications. | 2,029 | 2,043 | 53 | 15M | 0 | 46.7 | 62.8 | MIT | 2 days ago | |
| guzzlehttp/guzzle | 0.84 | Guzzle is a PHP HTTP client that makes sending HTTP requests simple and integrating with web services trivial. It supports sync and async requests, PSR-7 and PSR-18 interfaces, streaming uploads and downloads, middleware, and abstracts away the underlying transport. | 23,447 | 24,314 | 2,393 | 20M | 2 | 75.1 | 48.3 | MIT | 1 week ago | |
| php-http/react-adapter | 0.84 | 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.7 | — | MIT | 1 week ago |
|
| pdeans/http | 0.84 | 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 | |
| php-standard-library/promise | 0.84 | Lightweight Promise implementation for PHP with a simple, standards-inspired API. Create, resolve, reject, and chain async-style operations, handle errors, and compose results with familiar then/catch patterns—ideal for libraries that need non-blocking workflows. | 1 | 1 | 0 | 84K | 0 | 21.4 | 64.8 | MIT | 1 week ago |
How can I help you explore Laravel packages today?