Go to file
Kévin Dunglas 49d81c4ea2
ci: fix typo
2023-12-03 16:03:17 +01:00
.github ci: fix typo 2023-12-03 16:03:17 +01:00
C-Thread-Pool chore: remove C-Thread-Pool/example.c (#259) 2023-10-10 15:26:03 +02:00
caddy feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
docs feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
embed feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
internal refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
testdata chore: add missing file 2023-11-10 18:39:29 +01:00
.dockerignore feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
.gitignore ci: add Apple Silicon build script (#313) 2023-11-19 17:06:18 +01:00
.hadolint.yaml ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
.markdown-lint.yaml ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
alpine.Dockerfile feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
build-static.sh feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
cgi.go refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
CONTRIBUTING.md ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
dev-alpine.Dockerfile ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
dev.Dockerfile ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
docker-bake.hcl feat: Upgrade to PHP 8.3 2023-11-29 10:40:24 +01:00
Dockerfile feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
embed.go feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
frankenphp_arginfo.h ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
frankenphp_test.go refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
frankenphp.c ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
frankenphp.go feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
frankenphp.h ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01: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-11-10 19:44:59 +01:00
go.sum chore: bump deps 2023-11-10 19:44:59 +01: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 ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
recorder_test.go
release.sh fix: release script 2023-12-01 13:39:41 +01:00
request_options.go refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
static-builder.Dockerfile feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
worker_test.go refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
worker.go feat: detect when worker crashes or terminates normally (#315) 2023-11-21 23:15:07 +01: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 the 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.3 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