Commit Graph
7 Commits
Author SHA1 Message Date
Gregory Magarshak bdac23b6f2 Added support for hot reload, start, stop, restart, and virtual hosts 2026-07-21 18:12:11 -04:00
Gregory Magarshak 42ed5a5d47 Added support for socket.io and simple JSON websocket payloads via /Q/socket.js 2026-07-21 17:23:25 -04:00
Gregory Magarshak 5983f11b91 Added support for legacy scripts via CGI mode instead of CLI SAPI 2026-07-21 08:39:07 -04:00
Gregory Magarshak dce9b9660a Started handling websockets using long-lived PHP processes 2026-07-21 04:04:48 -04:00
Gregory Magarshak 1672e0ce4e Added support for autoloading, event handlers, and more 2026-07-20 12:16:01 -04:00
Gregory Magarshak 618638ecdc Fix str_repeat → str_pad, add composer.json, clean up Revolt driver
- Banner formatting uses str_pad with configurable box width
- Revolt driver: added `use Revolt\EventLoop` statement,
  expanded to readable multi-line methods with YUIDoc
- Added composer.json with revolt/event-loop in require-dev,
  amphp/http-server in suggest, ext-sockets required
- README: added php-fpm comparison, FrankenPHP/Swoole comparison,
  HTTP/2 section, Server Powers section with PHP examples
  (X-Accel-Redirect, Cache-Control, X-Cache-Tree)

Thanks to HN feedback: https://news.ycombinator.com/item?id=48979580
2026-07-20 11:06:38 -04:00
Gregory Magarshak eaa711a4e5 Initial release — pure PHP web server, 55-73% of nginx throughput
Standalone server with zero dependencies beyond PHP 8.1+.
Static files with in-memory response cache, keep-alive, TCP_NODELAY,
gzip/brotli, WebSocket, live dashboard, rate limiting.

Includes PHAR builder and GitHub Actions CI for static binaries
(Linux x86_64, Linux ARM64, macOS x86_64, macOS Apple Silicon).
2026-07-20 10:26:59 -04:00