PHPStreamServer is a high-performance, event-loop-based application server and supervisor for PHP, written in PHP.
Powered by the Revolt event loop and built on the AMPHP ecosystem, it brings true asynchronous capabilities to your applications.
PHPStreamServer is highly extensible with its plugin system, allowing it to replace traditional setups like Nginx, PHP-FPM, Cron, and Supervisor. See the available plugin packages below.
Install PHPStreamServer with Composer
Read the official documentation: https://phpstreamserver.dev/
Package | Description |
---|---|
Core | The core of PHPStreamServer with a built-in supervisor. |
Http Server | Plugin that implements an asynchronous HTTP server. |
Scheduler | Plugin for scheduling tasks. Works similar to cron. |
Logger | Plugin that implements a powerful PSR-compatible logger that can be used by workers. |
File Monitor | Plugin to monitor files and reload server when files are changed. Useful for development. |
Metrics | Plugin that exposes an endpoint with Prometheus metrics. Custom metrics can be sent from workers. |
Symfony | Symfony bundle to integrate PHPStreamServer with a symfony application. |