Uses FrankenPHP
Use with Caddy Docker Proxy Stack (gist) for easy URLs like example.localhost
Includes XDebug & Composer
Find the ID of your user and group:
id -u
id -g
Populate WWW_UID
& WWW_GID
build args in compose.yml
with your IDs
Start your stack
docker compose up
Don't forget to tell your app to trust the proxy headers: https://laravel.com/docs/12.x/requests#configuring-trusted-proxies
Put the vscode-launch.json
at .vscode/launch.json
Put the index.php
at public/index.php