A minimal DDEV PHP project used as an end-to-end test fixture for Knecht. It serves a single page (public/index.php) on three hostnames — a primary plus alpha.* and beta.* — so Knecht can boot the environment, hit each host, and assert against the rendered output. A small Vite bundle (src/) is built into public/dist and included through its manifest by hand, without a framework plugin: the "Vite bundle" row on the page flips from "not loaded" to "loaded" once the built script runs.
Requires DDEV and a Docker provider (Docker, OrbStack, or Colima).
ddev start # boot the containers
ddev npm install
ddev npm run build # build src/ into public/dist (read via the Vite manifest)
ddev launch # open the site in your browserThe project is then available at:
| Role | URL |
|---|---|
| primary | https://test-php.ddev.site |
| alpha | https://alpha.test-php.ddev.site |
| beta | https://beta.test-php.ddev.site |