FrankenPHP is a modern application server for PHP built on top of the Caddy web server.
FrankenPHP works with any PHP app and makes your Laravel and Symfony projects faster than ever thanks to their official integrations with the worker mode.
FrankenPHP can also be used as a standalone Go library to embed PHP in any app using
Learn more on frankenphp.dev and in this slide deck:
docker run -v $PWD:/app/public \
-p 80:80 -p 443:443 -p 443:443/udp \
https://localhost, and enjoy!
Do not attempt to use
localhostand accept the self-signed certificate. Use the
SERVER_NAMEenvironment variable to change the domain to use.
To serve the content of the current directory, run:
You can also run command-line scripts with:
./frankenphp php-cli /path/to/your/script.php