# Install FrankenPHP curl https://frankenphp.dev/install.sh | sh mv frankenphp /usr/local/bin/ # Serve the public/ directory frankenphp php-server -r public/ # Run a command-line script frankenphp php-cli script.php
Boot your app once, it stays in memory!
Natively supported by Symfony, API Platform, Laravel…
Uses plain old superglobals: no need for PSR-7.
According to our benchmarks, 3.5x faster than FPM on API Platform apps.
FrankenPHP is written in Go and C. It relies on Go’s iconic feature: goroutines!
Your app can be served as-is, even if it isn’t compatible with the worker mode.
Runs in process: one binary, no external service needed.
Automatically restart the worker each time your code change.
localhost { # Enable compression (optional) encode zstd br gzip # Execute PHP files in the current directory and serve assets php_server }