/ddev-frankenphp

Replaces apache/nginx with FrankenPHP in ddev web container

Primary LanguageShellApache License 2.0Apache-2.0

FrankenPHP Add-On for DDEV

This DDEV add-on for FrankenPHP replaces the currently used webserver with FrankenPHP.

FrankenPHP is a modern PHP App Server, written in Go.

Why?

The WHY!

Installation

ddev get ochorocho/ddev-frankenphp && ddev restart

Configuration

config.yaml

SERVER_NAME will be set depending on the VIRTUAL_HOST used by ddev. This way all domains configured by ddev will be used by frankenphp as well.

MERCURE_PUBLIC_URL will use the DDEV_PRIMARY_URL ($DDEV_PRIMARY_URL/.well-known/mercure)