frankenphp: A modern application server for PHP built on top of the Caddy web server.
What problem it solves
PHP applications need a server that can combine application execution with capabilities such as automatic HTTPS, modern HTTP protocols, worker mode, and real-time communication. Developers may also need to embed PHP in applications built with Go's net/http package.
Key features
Built on Caddy — The application server combines PHP support with the Caddy web server as its foundation.
Source: README
Worker mode and framework integrations — Worker mode keeps PHP applications running as workers, with official integrations available for Laravel and Symfony projects.
Source: README, worker.go
Real-time and early responses — The server supports Early Hints and real-time capabilities for applications that need early responses or real-time communication.
Source: README, mercure.go
Hot reloading — Application code can be reloaded without restarting the full server workflow.
Source: README, hotreload.go
Go library and embedding — The project can be used as a standalone Go library to embed PHP in applications that use net/http.
Source: README, go.mod
Quick start
Copied verbatim from the project's README.
curl https://frankenphp.dev/install.sh | shfrankenphp php-serverWho it may suit
This project may suit PHP application developers who want a combined application and web server, as well as Go developers who need to embed PHP in an existing application.
Topics to discuss
Which worker mode configuration best fits your PHP application architecture?
How are you using FrankenPHP with Early Hints or real-time features?
What deployment or embedding setup would you like to see documented more clearly?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/php/frankenphp#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…