amphp/http-client
Async HTTP client for PHP built on Amp. Send concurrent requests with connection pooling, timeouts, redirects, proxies, TLS support, and streaming request/response bodies. Includes PSR-7/PSR-18 integration and middleware-style interceptors.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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,593 | 2,607 | 40 | 5M | 1 | 38.3 | 53.9 | MIT | 1 year ago | |
| amphp/socket | 0.86 | Non-blocking, event-driven socket library for PHP using Amp. Provides async TCP/UDP sockets, client/server connections, DNS and TLS support, timeouts, cancellation, and backpressure-friendly streams—ideal for high-concurrency network services and daemons. | 264 | 264 | 37 | 2M | 7 | 33.5 | 66.0 | MIT | 1 year ago | |
| amphp/http | 0.86 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 101 | 101 | 10 | 698K | 1 | 28.0 | 62.8 | MIT | 1 year 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,049 | 1,052 | 53 | 4M | 12 | 39.6 | 63.7 | MIT | 4 months ago | |
| amphp/amp | 0.85 | AMPHP (AMP) accelerates PHP concurrency with fibers, eliminating callbacks and generators. Built on PHP 8.1’s cooperative coroutines, it lets you run async tasks like sync code—ideal for I/O-bound apps. Use Amp\async() for parallel execution and Future::await() to handle results seamlessly. No event... | 4,410 | 4,422 | 258 | 3M | 15 | 63.4 | 53.0 | MIT | 7 months ago | |
| amphp/http-server-router | 0.83 | amphp/http-server-router is a fast, async router for Amp’s HTTP server. It maps paths and methods to request handlers, supports route groups and parameters, and provides middleware-style dispatching for building clean, high-performance PHP microservices. | 39 | 39 | 6 | 10K | 1 | 22.9 | 39.3 | MIT | 2 years ago | |
| react/http-client | 0.83 | Deprecated ReactPHP streaming, event-driven HTTP client kept for BC. Development moved to react/http with a new Promise-based, PSR-7 Browser API. Upgrade recommended; see react/http for current client usage and features. | 228 | 234 | 61 | 46K | 1 | 32.1 | 37.4 | MIT | 5 years ago | |
| amphp/dns | 0.82 | Async DNS resolver for PHP built on Amp. Provides non-blocking hostname lookups, record queries, caching and timeouts with an event loop, ideal for high-concurrency applications and CLI tools needing fast, reliable DNS without blocking I/O. | 192 | 191 | 30 | 2M | 6 | 32.5 | 66.8 | MIT | 1 year ago | |
| amphp/websocket-client | 0.82 | Async WebSocket client for PHP built on Amp. Connect to ws/wss endpoints with fiber-friendly concurrency, consume realtime APIs, test WebSocket servers, and support custom handshakes, headers, heartbeats, and rate limits. | 161 | 163 | 16 | 517K | 6 | 28.0 | 58.7 | MIT | 7 months ago | |
| amphp/http-server | 0.82 | Asynchronous, non-blocking HTTP server for PHP built on Amp. Create high-performance web apps and APIs with event-driven I/O, middleware, routing, and streaming request/response bodies. Includes HTTP/1.1 and HTTP/2 support and TLS integration. | 1,327 | 1,327 | 101 | 550K | 17 | 43.7 | 49.7 | MIT | 2 months ago | |
| sabre/http | 0.80 | sabre/http is a lightweight toolkit for working with HTTP in PHP. It wraps superglobals and output functions into extendable, mockable Request and Response objects, making it easier to read request data and send headers/body consistently across your app. | 190 | 197 | 59 | 258K | 5 | 33.3 | 53.6 | BSD-3-Clause | 7 months ago |
How can I help you explore Laravel packages today?