# Docker
docker -v $PWD:/app/public -p 443:443 dunglas/frankenphp
# Command line
Frankenphp php-server
Boot your application once and keep it in memory!
Boot your application once and keep it in memory!
Process incoming requests without having to boot your app again
Process incoming requests without having to boot your app again
Compatible with API Platform and Symfony thanks to Symfony Runtime
Compatible with API Platform and Symfony thanks to Symfony Runtime
Written in C and Go (awesome concurrency engine)
Written in C and Go (awesome concurrency engine)
According to our benchmarks, 3.5x faster than FPM with API Platform
According to our benchmarks, 3.5x faster than FPM with API Platform
Entirely optional (unlike alternatives like RoadRunner and Swoole)
Entirely optional (unlike alternatives like RoadRunner and Swoole)
Runs in process: no network calls
Runs in process: no network calls
Uses plain old superglobals: no need for PSR-7 etc
Uses plain old superglobals: no need for PSR-7 etc
{
# Enable FrankenPHP
frankenphp
# Configure when the directive must be executed
order php_server before file_server
}
localhost {
# Enable compression (optional)
encode zstd gzip
# Execute PHP files in the current directory and serve assets
php_server
}