amphp/http-client
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-http/client-common | 0.88 | 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,050 | 1,053 | 53 | 4M | 12 | 29.3 | 58.1 | MIT | 6 months ago | |
| amphp/http-server-static-content | 0.88 | AMPHP HTTP server component for efficiently serving static files (assets, downloads) with correct MIME types, caching headers, range requests, and directory handling. Designed for non-blocking, event-driven apps built on amphp/http-server. | 21 | 21 | 12 | 2K | 1 | 4.2 | 27.5 | MIT | 2 years ago | |
| amphp/amp | 0.87 | 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,416 | 4,431 | 258 | 3M | 15 | 48.4 | 46.9 | MIT | 9 months ago | |
| amphp/websocket-client | 0.87 | 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. | 162 | 164 | 16 | 671K | 6 | 12.5 | 53.1 | MIT | 9 months ago | |
| 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,594 | 2,602 | 40 | 6M | 1 | 18.3 | 46.1 | MIT | 1 year ago | |
| amphp/http | 0.87 | 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. | 103 | 103 | 10 | 895K | 1 | 8.0 | 54.7 | MIT | 1 year ago | |
| amphp/byte-stream | 0.86 | Event-driven byte stream abstractions for PHP 8.1+ in the AMPHP ecosystem. Provides ReadableStream/WritableStream interfaces plus implementations like Payload, buffers, resource/iterable streams, stream chaining, base64 encode/decode, and decompression for fiber-friendly I/O. | 393 | 392 | 28 | 3M | 2 | 12.3 | 54.0 | MIT | 1 year ago | |
| amphp/http-server | 0.85 | Non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP 8.1+ built on Revolt and Amp (fibers). Includes TLS, middleware, gzip, and integrations for routing, static files, WebSockets, sessions, and more. | 1,324 | 1,323 | 102 | 601K | 11 | 41.2 | 46.7 | MIT | 1 month 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. | 227 | 234 | 61 | 20K | 1 | 12.1 | 26.8 | MIT | 5 years ago | |
| symfony/http-client | 0.82 | Symfony HttpClient provides a robust API to fetch HTTP resources synchronously or asynchronously. It supports modern features like concurrent requests and streaming, and integrates cleanly with the Symfony ecosystem for building reliable HTTP clients. | 2,038 | 2,052 | 51 | 8M | 0 | 46.7 | 58.1 | MIT | 1 week ago |
How can I help you explore Laravel packages today?