A minimal skeleton to start with a minimal php project.
- php: ^8.3
- chubbyphp/chubbyphp-clean-directories: ^1.5.4
- chubbyphp/chubbyphp-framework: ^6.1.3
- chubbyphp/chubbyphp-framework-router-fastroute: ^2.3.6
- chubbyphp/chubbyphp-laminas-config: ^1.5.4
- monolog/monolog: ^3.12.1
- slim/psr7: ^1.8
- symfony/console: ^7.4.21|^8.1.9
Add the following environment variable to your system, for example within ~/.bashrc or ~/.zshrc:
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)Creates every file and directory which gets mounted into the php container without overwriting existing ones:
- shell rc/history, git, ssh and npm files within the host home (
~) - coding agent directories within
.home(within this repository, git-ignored), seeded with default settings
Adjust the seeded settings files afterwards to your liking, they stay on the host and get mounted.
./setup-mount-points.shThe following coding agents (harnesses) are preinstalled within the php container, their directories get mounted
from .home (see docker-compose.yml), so auth, settings, sessions and history survive container rebuilds:
- Antigravity CLI (
agy, shares.geminiwith Gemini CLI) - Claude Code
- Codex
- Gemini CLI
- Opencode
- PI incl. pi-llama (installed on first start)
Use antigravity-reset, claude-reset, codex-reset, gemini-reset, opencode-reset, pi-reset or
harness-reset within the container to wipe the agent state while keeping auth and settings.
PI can run against a local model via pi-llama, start a llama.cpp server on the host, for example:
llama-server \
-hf lmstudio-community/Qwen3.6-35B-A3B-GGUF:Q4_K_M \
-c 32768 \
-ngl 999 \
--flash-attn on \
--host 0.0.0.0 \
--port 9931docker compose up -d
docker compose exec php bashcomposer install2026 Dominik Zogg