amphp/http-client
A fully asynchronous HTTP/1 and HTTP/2 client for PHP built on Revolt, with no cURL dependency. It supports concurrent requests, connection pooling, redirects, compression, streaming bodies, cookies, and proxies through a composable interceptor API.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/artax | 0.88 | Deprecated (unmaintained) async HTTP/1.1 client for PHP built on Amp. Implements HTTP over raw TCP sockets (no ext/curl), with keep-alive pooling, redirects, gzip decoding, streaming bodies, TLS, cookies, and proxy support. Use amphp/http-client instead. | 23 | 26 | 4 | 5K | 0 | 0.1 | 22.5 | MIT | — | |
| 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. | 105 | 105 | 10 | 3M | 1 | 7.9 | 55.2 | MIT | 1 year ago | |
| amphp/http-server | 0.87 | A non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP built on Revolt and Amp. It forwards requests to RequestHandler implementations and supports middleware, TLS, GZIP compression, and fiber-based concurrency. | 1,326 | 1,327 | 104 | 2M | 11 | 42.6 | 56.3 | MIT | 5 days ago | |
| amphp/http-tunnel | 0.87 | AMPHP HTTP Tunnel provides asynchronous HTTP tunneling for PHP using Amp, enabling CONNECT-based proxy tunneling and transparent TCP-over-HTTP streams. Useful for building clients that need to reach services through HTTP proxies with non-blocking I/O. | 13 | 13 | 4 | 45K | 1 | 20.9 | 56.7 | MIT | 1 week ago | |
| php-http/laravel-httplug | 0.87 | Laravel integration for HTTPlug that wires PSR-7/PSR-18 HTTP clients into the service container, provides package configuration and convenient Laravel access, and lets apps use interchangeable HTTPlug adapters for outbound HTTP requests. | 12 | 12 | 3 | 11 | 5 | 1.8 | 4.8 | MIT | 10 years ago | |
| guzzlehttp/guzzle | 0.87 | 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 | |
| ricardofiorani/guzzle-psr18-adapter | 0.86 | Tiny adapter that lets you use Guzzle as a PSR-18 HTTP client. Bridges PSR-7 requests/responses and promises to the PSR-18 ClientInterface, easing migration to standards-based HTTP without rewriting existing Guzzle integrations. | 14 | 14 | 3 | 1K | 0 | 2.1 | 26.0 | MIT | 5 years ago | |
| amphp/websocket-client | 0.86 | 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. | 164 | 165 | 16 | 3M | 6 | 8.0 | 56.4 | MIT | 1 year ago | |
| amphp/socket | 0.86 | Async, non-blocking socket library for AMPHP. Provides client/server abstractions over TCP, UDP, and Unix domain sockets with DNS resolution, retries, connect timeouts, cancellation, and optional TLS encryption. Implements ReadableStream/WritableStream. | 271 | 272 | 39 | 6M | 6 | 30.0 | 64.4 | MIT | 2 months 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. | 396 | 395 | 30 | 6M | 2 | 32.2 | 64.8 | MIT | 6 days ago | |
| amphp/amp | 0.86 | amphp/amp provides futures and cancellations as core primitives for asynchronous PHP. Built on PHP 8.1 fibers and Revolt, it lets you write concurrent code that reads like synchronous code, using Amp\async() and Future::await() without callbacks. | 4,430 | 4,448 | 259 | 4M | 16 | 59.3 | 54.2 | MIT | 3 months ago | |
| guzzle/http | 0.86 | Legacy Guzzle HTTP component providing request/response objects, message abstractions, and client utilities for making HTTP calls in PHP. Useful for older Guzzle integrations and compatibility layers; for new projects, prefer modern guzzlehttp/guzzle versions. | 32 | 42 | 9 | 52K | 0 | 0.5 | 44.2 | — | — | |
| amphp/log | 0.86 | Amp’s minimal PSR-3 compatible logging library with a simple Logger interface and built-in handlers. Designed for async apps, it integrates cleanly with the amphp ecosystem while remaining lightweight and easy to extend with custom log targets and formatters. | 40 | 40 | 5 | 80K | 3 | 2.9 | 45.6 | MIT | 3 years ago | |
| php-http/guzzle6-adapter | 0.86 | 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,342 | 1,383 | 54 | 432K | 2 | 5.6 | 24.4 | MIT | 5 years ago | |
| amphp/http-server-static-content | 0.86 | 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. | 22 | 22 | 10 | 3K | 0 | 23.8 | 34.5 | MIT | 5 days ago | |
| amphp/http-server-router | 0.86 | 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 | 30K | 1 | 2.9 | 39.6 | MIT | 3 years ago | |
| amphp/dns | 0.86 | 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. | 198 | 197 | 30 | 5M | 4 | 32.0 | 65.6 | MIT | 6 days ago | |
| athlon1600/php-curl-client | 0.86 | Lightweight, extensible PHP cURL client (PHP 7.3–8.4). Make GET/POST or fully customized requests and always receive a standardized Response with status, body, error, and typed cURL info for IDE autocomplete. | 13 | 13 | 7 | 2K | 0 | 10.4 | 32.9 | MIT | 9 months ago | |
| amphp/websocket | 0.85 | Shared WebSocket components for AMPHP’s event-driven, fiber-based concurrency stack. Provides core abstractions used by amphp/websocket-server and amphp/websocket-client to build fast, non-blocking WebSocket clients and servers (PHP 8.1+). | 46 | 46 | 6 | 2M | 0 | 4.9 | 55.3 | MIT | 2 years ago | |
| guzzle/guzzle | 0.85 | Guzzle 3.x is a PHP HTTP client and web service framework with a cURL-like API, persistent connections, pooling, parallel requests, service descriptions, and a Symfony2 event/plugin system. End-of-life; use Guzzle 5+ for maintenance. | 152 | 222 | 89 | 290K | 0 | 2.0 | 32.0 | MIT | — |
How can I help you explore Laravel packages today?