Go to file
dependabot[bot] f183e4815e
ci: bump super-linter/super-linter from 6.8.0 to 7.1.0
Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 6.8.0 to 7.1.0.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/super-linter/super-linter/compare/v6.8.0...v7.1.0)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 11:19:57 +00:00
.github ci: bump super-linter/super-linter from 6.8.0 to 7.1.0 2024-09-02 11:19:57 +00:00
caddy chore: prepare release 1.2.5 2024-08-27 12:03:36 +02:00
docs docs: add performance docs (#1004) 2024-08-27 11:45:56 +02:00
internal refactor: faster $_SERVER variables creation 2023-11-16 14:40:52 +01:00
testdata docs: add performance docs (#1004) 2024-08-27 11:45:56 +02:00
.dockerignore fix: do not extract embedded app on every execution (#488) 2024-01-21 18:13:08 +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 ci: run tests with ASAN and MSAN (#955) 2024-08-09 18:18:15 +02:00
app_checksum.txt fix: do not extract embedded app on every execution (#488) 2024-01-21 18:13:08 +01:00
app.tar feat: use tar to embed apps (#333) 2023-12-03 19:17:36 +01:00
build-static.sh feat(static): add HTTP/2 support for ext-curl 2024-08-20 16:38:53 +02:00
cgi.go perf: reduce allocs when creating $_SERVER (#540) 2024-03-12 18:31:30 +01:00
CONTRIBUTING.md perf: improve PHP thread management (#898) 2024-07-09 09:39:03 +02:00
dev-alpine.Dockerfile ci: upgrade to super-linter 6 (#952) 2024-08-04 14:05:54 +02:00
dev.Dockerfile ci: upgrade to super-linter 6 (#952) 2024-08-04 14:05:54 +02:00
docker-bake.hcl fix: create a custom Go build when using musl to prevent a crash (#913) 2024-07-11 10:26:28 +02:00
Dockerfile ci: run tests with ASAN and MSAN (#955) 2024-08-09 18:18:15 +02:00
embed.go fix: temporary directory name for embed apps 2024-04-28 10:45:38 +02:00
frankenphp_arginfo.h fix: getallheaders() must return request headers (#772) 2024-05-08 11:43:39 +02:00
frankenphp_test.go perf: prevent useless logger allocs 2024-08-27 11:03:01 +02:00
frankenphp.c fix: reset sapi response code (#964) 2024-08-11 22:34:50 +02:00
frankenphp.go perf: prevent useless logger allocs 2024-08-27 11:03:01 +02:00
frankenphp.h perf: reduce allocs when creating $_SERVER (#540) 2024-03-12 18:31:30 +01:00
frankenphp.png docs: update logo 2022-10-14 12:23:39 +02:00
frankenphp.stub.php fix: getallheaders() must return request headers (#772) 2024-05-08 11:43:39 +02:00
go.mod chore: bump deps 2024-08-27 12:02:39 +02:00
go.sum chore: bump deps 2024-08-27 12:02:39 +02:00
LICENSE docs: add license (#24) 2022-10-15 11:21:21 +02:00
options.go perf: reduce allocs when creating $_SERVER (#540) 2024-03-12 18:31:30 +01:00
README.md docs: add performance docs (#1004) 2024-08-27 11:45:56 +02:00
recorder_test.go chore: improve tests and add missing file (#13) 2022-10-11 20:41:50 +02:00
release.sh ci: upgrade to super-linter 6 (#952) 2024-08-04 14:05:54 +02:00
reload_test.sh ci: upgrade to super-linter 6 (#952) 2024-08-04 14:05:54 +02:00
request_options.go perf: cache document root resolution when possible 2024-08-26 20:26:27 +02:00
SECURITY.md docs: create SECURITY.md 2024-08-13 16:08:59 +02:00
smartpointer.go Fix memory leak (#442) 2023-12-28 00:16:19 +01:00
static-builder.Dockerfile ci: upgrade to super-linter 6 (#952) 2024-08-04 14:05:54 +02:00
worker_test.go perf: prevent useless logger allocs 2024-08-27 11:03:01 +02:00
worker.go perf: prevent useless logger allocs 2024-08-27 11:03:01 +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 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 net/http.

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

Slides

Getting Started

Docker

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

Go to https://localhost, and enjoy!

Tip

Do not attempt to use https://127.0.0.1. Use https://localhost and accept the self-signed certificate. Use the SERVER_NAME environment variable to change the domain to use.

Standalone Binary

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

To serve the content of the current directory, run:

./frankenphp php-server

You can also run command-line scripts with:

./frankenphp php-cli /path/to/your/script.php

Docs

Examples and Skeletons