Go to file
2023-10-26 08:45:52 +02:00
.circleci ci: fix release workflow 2023-09-20 16:07:42 +02:00
.github feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
C-Thread-Pool chore: remove C-Thread-Pool/example.c (#259) 2023-10-10 15:26:03 +02:00
caddy feat: minor improvements to the default Caddyfile 2023-10-26 08:45:52 +02:00
docs feat: minor improvements to the default Caddyfile 2023-10-26 08:45:52 +02:00
internal feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
testdata feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
.dockerignore feat(caddy): php_server simplified directive (#235) 2023-10-03 15:44:55 +02:00
.gitignore feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
alpine.Dockerfile fix(docker): increase thread stack size on Alpine (#223) 2023-09-25 18:16:48 +02:00
cgi.go fix: ensure that SERVER_PORT is always defined 2023-09-17 13:20:16 +02:00
CONTRIBUTING.md docs: add dockerignore issue in lower docekr version to CONTRIBUTING.md 2023-10-17 16:35:24 +02:00
dev-alpine.Dockerfile upgrade go version + add alpine dockerfile (#217) 2023-09-19 16:44:50 +02:00
dev.Dockerfile upgrade go version + add alpine dockerfile (#217) 2023-09-19 16:44:50 +02:00
docker-bake.hcl feat: upgrade to PHP 8.3RC4 2023-10-16 21:20:22 +02:00
Dockerfile chore: minor Dockerfile improvements 2023-09-17 21:07:30 +02:00
frankenphp_arginfo.h feat: add fastcgi_finish_request() support (#69) 2022-11-03 08:36:47 +01:00
frankenphp_test.go feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
frankenphp.c feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
frankenphp.go chore: bump deps 2023-10-16 21:53:18 +02:00
frankenphp.h feat: add experimental CLI support (#239) 2023-10-09 14:38:15 +02:00
frankenphp.png docs: update logo 2022-10-14 12:23:39 +02:00
frankenphp.stub.php feat: add fastcgi_finish_request() support (#69) 2022-11-03 08:36:47 +01:00
go.mod chore: bump deps 2023-10-16 21:53:18 +02:00
go.sum chore: bump deps 2023-10-16 21:53:18 +02:00
LICENSE docs: add license (#24) 2022-10-15 11:21:21 +02:00
options.go feat: allow passing env vars to workers (#210) 2023-09-15 12:59:43 +02:00
README.md docs: Laravel example (#231) 2023-10-03 17:32:17 +02:00
recorder_test.go chore: improve tests and add missing file (#13) 2022-10-11 20:41:50 +02:00
release.sh chore: prepare release 1.0.0-beta.1 2023-09-20 15:26:15 +02:00
static-builder.Dockerfile fix(static): add start-group and end-group around php-config libs (#241) 2023-10-05 17:53:43 +02:00
worker_test.go feat: allow passing env vars to workers (#210) 2023-09-15 12:59:43 +02:00
worker.go feat: allow passing env vars to workers (#210) 2023-09-15 12:59:43 +02:00

FrankenPHP: Modern App Server for PHP

FrankenPHP

FrankenPHP is a modern application server for PHP built on top of the Caddy web server.

FrankenPHP gives superpowers to your PHP apps thanks to its stunning features: Early Hints, worker mode, real-time capabilities, automatic HTTPS, HTTP/2, and HTTP/3 support...

FrankenPHP works with any PHP app and makes your Symfony projects faster than ever thanks to provided integration with the worker mode (Laravel Octane support coming).

FrankenPHP can also be used as a standalone Go library to embed PHP in any app using net/http.

Learn more on frankenphp.dev and in this slide deck:

Slides

Getting Started

docker run -v $PWD:/app/public \
    -p 80:80 -p 443:443 \
    dunglas/frankenphp

Go to https://localhost, and enjoy!

If you prefer not to use Docker, we provide standalone FrankenPHP binaries for Linux and macOS containing PHP 8.2 and most popular PHP extensions: Download FrankenPHP

Note: do not attempt to use https://127.0.0.1. Use localhost and accept the self-signed certificate. Caddy has an automatic TLS handling that auto-trusts some local-based hostnames like localhost, but it does not apply to IP addresses. More details on Caddy's "automatic https" docs.

Docs

Examples and Skeletons