amphp/http
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/amp | 0.89 | 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 | |
| react/http | 0.89 | Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop. | 781 | 789 | 166 | 428K | 14 | 23.1 | 46.2 | MIT | 1 year ago | |
| amphp/websocket-server | 0.88 | Async WebSocket server for PHP built on Amp’s event-driven concurrency. Handles upgrades, connections, message streaming, backpressure and graceful shutdown, making it easy to build real-time apps like chat, dashboards and live notifications. | 124 | 124 | 17 | 6K | 2 | 5.1 | 23.0 | MIT | 2 years ago | |
| amphp/socket | 0.88 | 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. | 265 | 265 | 37 | 2M | 6 | 32.1 | 64.7 | MIT | 1 month ago | |
| amphp/http-server-static-content | 0.87 | 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/http-client | 0.87 | 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. | 729 | 731 | 67 | 812K | 7 | 37.0 | 51.6 | MIT | 2 weeks ago | |
| 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 | 72K | 3 | 2.9 | 45.0 | MIT | 2 years 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 | |
| httpsoft/http-message | 0.84 | PSR-7 HTTP message implementation for PHP with strict types and clean, immutable value objects. Provides Request/Response, ServerRequest, URI, headers, streams, and factories, designed for interoperability across frameworks and middleware. | 87 | 87 | 5 | 28K | 0 | 6.6 | 34.5 | MIT | 1 year ago | |
| amphp/byte-stream | 0.78 | 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 | |
| sabre/http | 0.78 | sabre/http is a lightweight PHP toolkit for working with HTTP requests and responses. It wraps superglobals and output functions into extendable, mockable Request/Response objects, with SAPI helpers to create a request and support dependency-injected handlers. | 190 | 197 | 60 | 284K | 5 | 32.4 | 53.3 | BSD-3-Clause | 1 month ago |
How can I help you explore Laravel packages today?