amphp/http-server
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/amp | 0.90 | 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.5 | 47.2 | MIT | 9 months ago | |
| amphp/sql | 0.86 | Async SQL library for PHP built on Amp. Provides non-blocking database connections, query execution, and result handling with a consistent API, enabling high-concurrency apps without blocking I/O. Supports common drivers and integrates cleanly with event-loop workflows. | 20 | 20 | 5 | 33K | 1 | 15.3 | — | MIT | 3 months ago | |
| amphp/websocket-server | 0.85 | 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/http-client | 0.85 | 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 | |
| php-standard-library/async | 0.85 | Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| amphp/socket | 0.84 | 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.83 | 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 | 0.82 | 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 | |
| discord-php/http | 0.81 | Async PHP HTTP client for the Discord REST API (PHP 7.4+). Works with an event loop (e.g., React) and PSR-3 logging. Provides get/post/put/patch/delete plus queueRequest, returns decoded JSON promises, and includes Endpoint constants with bind() for rate-limit buckets. | 24 | 24 | 8 | 13K | 0 | 30.7 | 44.0 | MIT | 1 month ago | |
| laminas/laminas-diactoros | 0.79 | PSR-7 HTTP message implementation (ServerRequest, Request, Response, Stream, UploadedFile, Uri) for PHP. Includes factories and utilities for creating and normalizing requests/responses, with strong type coverage and interoperability with PSR-17/PSR-15. | 549 | 558 | 78 | 3M | 22 | 28.5 | 65.2 | BSD-3-Clause | 7 months ago | |
| sabre/http | 0.79 | 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?