http-server is a non-blocking, concurrent HTTP application server for PHP. It is part of AMPHP, a collection of event-driven libraries designed with fibers and concurrency in mind.
Built on the Revolt event loop and Amp’s non-blocking concurrency primitives, http-server supports HTTP/1.1 and HTTP/2 applications. Requests are handled concurrently using coroutines, allowing other requests to progress while handlers wait on non-blocking I/O.
This is free and open source software.
Key Features
- Non-blocking, concurrent HTTP server for PHP.
- Supports HTTP/1.1 and HTTP/2.
- Built on the Revolt event loop and Amp concurrency framework.
- Full TLS support.
- Customizable GZIP compression.
- Middleware hooks for request and response processing.
- Static file serving through a companion package.
- WebSocket support through a companion component.
- Dynamic application endpoint routing.
- Request body parsing and session support.
- Supports deployment directly or behind a trusted proxy.
Website: github.com/amphp/http-server
Support:
Developer: AMPHP
License: MIT License
AMPHP is written in PHP. Learn PHP with our recommended free books and free tutorials.
Related Software
| PHP Application Servers | |
|---|---|
| RoadRunner | High performance PHP application server, load balancer, and process manager |
| FrankenPHP | The modern PHP app server |
| Swoole | Complete PHP async solution with built-in support for async programming |
| PPM | Process manager, supercharger and load balancer |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

