Home

Awesome

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/phpstreamserver/.github/refs/heads/main/assets/phpss_core_light.svg"> <img alt="PHPStreamServer logo" align="center" width="70%" src="https://raw.githubusercontent.com/phpstreamserver/.github/refs/heads/main/assets/phpss_core_dark.svg"> </picture> </p>

PHPStreamServer - PHP Application Server

PHP >=8.2 Version Tests Status

⚠️ This is the monorepo for the main components of PHPStreamServer ⚠️

PHPStreamServer is a high performance event-loop based application server and supervisor for PHP written in PHP.
PHPStreamServer ships with a number of plugins to extend functionality such as http server, scheduler and logger. See all the plugin packages below.
With all the power of plugins, it can replace traditional setup for running php applications like nginx, php-fpm, cron and supervisor.

Documentation

Please read the official documentation: https://phpstreamserver.dev/

Packages

PackageDescription
CoreThe core of PHPStreamServer with a built-in supervisor.
Http ServerPlugin that implements an asynchronous HTTP server.
SchedulerPlugin for scheduling tasks. Works similar to cron.
LoggerPlugin that implements a powerful PSR-compatible logger that can be used by workers.
File MonitorPlugin to monitor files and reload server when files are changed. Useful for development.
MetricsPlugin that exposes an endpoint with Prometheus metrics. Custom metrics can be sent from workers.