amphp/http-server-static-content
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/websocket-client | 0.91 | 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/dns | 0.91 | 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 | |
| ampproject/amp-toolbox | 0.90 | AMP Toolbox is a PHP library from the AMP Project for building and optimizing AMP pages. It offers server-side rendering, DOM transformation, CSS handling, and an AMP optimizer that reduces page size and improves performance while helping ensure valid AMP HTML output. Used by the official AMP plugin... | 74 | 74 | 25 | 6K | 34 | 27.7 | 43.2 | Apache-2.0 | 2 months ago | |
| amphp/http-tunnel | 0.89 | 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 | |
| amphp/cache | 0.89 | Non-blocking cache library for Amp-based PHP apps. Provides async cache interfaces and adapters (e.g., in-memory, filesystem, Redis) with TTL support, atomic operations, and PSR-style ergonomics for high-concurrency services. | 134 | 133 | 15 | 6M | 0 | 5.7 | 55.3 | MIT | 2 years ago | |
| amphp/parser | 0.88 | Streaming parser helper for AMPHP: build incremental, generator-based parsers for line-, delimiter-, or length-based protocols. Feed data via Parser::push(); yield a delimiter string, byte length, or null to flush/await more input. PHP 7.4+ compatible. | 156 | 152 | 4 | 3M | 1 | 1.9 | 55.2 | MIT | 2 years ago | |
| amphp/thread | 0.88 | Thread-local storage for Amp applications. Store and retrieve values scoped to the current fiber or thread, keeping state isolated across concurrent tasks and preventing leaks between async operations. A small utility for safer context handling in Amp-based PHP apps. | 294 | — | 21 | — | 0 | 1.1 | — | MIT | 12 years ago |
|
| amphp/sync | 0.88 | Async synchronization primitives for Amp PHP: mutexes, semaphores, locks, and a synchronized helper. Coordinate concurrent fibers, ensure mutual exclusion, and cap parallel work (e.g., limit HTTP requests) with simple, safe abstractions. | 197 | 195 | 12 | 6M | 0 | 26.6 | 65.0 | MIT | 6 days ago | |
| amphp/byte-stream | 0.87 | 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/websocket-server | 0.87 | 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. | 126 | 126 | 18 | 29K | 2 | 5.2 | 32.5 | MIT | 2 years 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. | 105 | 105 | 10 | 3M | 1 | 7.9 | 55.2 | MIT | 1 year ago | |
| amphp/mysql | 0.87 | amphp/mysql is an asynchronous MySQL client for PHP built on Amp. It offers non-blocking queries, connection pooling, prepared statements, transactions, and streaming results for high-concurrency, event-driven applications. | 377 | 377 | 62 | 70K | 6 | 16.4 | 36.6 | NOASSERTION | 5 months ago | |
| amphp/log | 0.87 | 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 | |
| amphp/amp | 0.87 | 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 | |
| amphp/http-server-router | 0.87 | 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 | |
| fabpot/amphp-sqlite3 | 0.87 | fabpot/amphp-sqlite3 provides asynchronous, non-blocking access to SQLite3 databases for Amp-based PHP applications, using promises and coroutines so queries can run without blocking the event loop. | 7 | 6 | 3 | 16K | 0 | 0.2 | 45.7 | MIT | — | |
| amphp/http-server-form-parser | 0.86 | Parses application/x-www-form-urlencoded and multipart/form-data request bodies for amphp/http-server, giving handlers easy access to submitted form fields and uploaded files with a simple, asynchronous API. | 18 | — | 5 | — | 1 | 0.3 | — | MIT | 3 years ago |
|
| amphp/http-server | 0.86 | 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 | 6 days 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/http-client | 0.86 | 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. | 733 | 735 | 70 | 2M | 7 | 28.8 | 56.7 | MIT | 5 days ago |
How can I help you explore Laravel packages today?