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 |
| http-server | Advanced async HTTP server library |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.