A minimal skeleton to start with a minimal php project.
- php: ^8.3
- chubbyphp/chubbyphp-clean-directories: ^1.5.2
- chubbyphp/chubbyphp-framework: ^6.0.3
- chubbyphp/chubbyphp-framework-router-fastroute: ^2.3.4
- chubbyphp/chubbyphp-laminas-config: ^1.5.2
- monolog/monolog: ^3.10
- slim/psr7: ^1.8
- symfony/console: ^7.4.14|^8.1.1
Add the following environment variable to your system, for example within ~/.bashrc or ~/.zshrc:
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)touch ~/.bash_docker
touch ~/.bash_historytouch ~/.zsh_docker
touch ~/.zsh_historytouch ~/.gitconfig
touch ~/.gitignoretouch ~/.npmrcif [ ! -f ~/.claude.json ]; then
cat > ~/.claude.json <<'EOF'
{}
EOF
fi
mkdir -p ~/.claude
if [ ! -f ~/.claude/.credentials.json ]; then
cat > ~/.claude/.credentials.json <<'EOF'
{}
EOF
fi
if [ ! -f ~/.claude/settings.json ]; then
cat > ~/.claude/settings.json <<'EOF'
{
"fileCheckpointingEnabled": false,
"permissions": {
"defaultMode": "bypassPermissions"
},
"skipDangerousModePermissionPrompt": true,
"spinnerTipsEnabled": false,
"switchModelsOnFlag": false,
"theme": "auto"
}
EOF
fi
chmod 600 \
~/.claude/.credentials.json \
~/.claude/settings.jsonmkdir -p ~/.codex
if [ ! -f ~/.codex/auth.json ]; then
cat > ~/.codex/auth.json <<'EOF'
{}
EOF
fi
if [ ! -f ~/.codex/config.toml ]; then
cat > ~/.codex/config.toml <<'EOF'
approval_policy = "never"
sandbox_mode = "danger-full-access"
[notice]
hide_full_access_warning = true
EOF
fi
chmod 600 \
~/.codex/auth.json
~/.codex/config.tomlmkdir -p ~/.config/opencode ~/.local/share/opencode
if [ ! -f ~/.config/opencode/opencode.jsonc ]; then
cat > ~/.config/opencode/opencode.jsonc <<'EOF'
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"*": "allow"
}
}
EOF
fi
if [ ! -f ~/.config/opencode/tui.json ]; then
cat > ~/.config/opencode/tui.json <<'EOF'
{
"$schema": "https://opencode.ai/tui.json",
"theme": "system",
"tips": false
}
EOF
fi
if [ ! -f ~/.local/share/opencode/auth.json ]; then
printf '{}\n' > ~/.local/share/opencode/auth.json
fi
chmod 600 \
~/.config/opencode/opencode.jsonc \
~/.config/opencode/tui.json \
~/.local/share/opencode/auth.jsonmkdir -p ~/.pi/agent
[ ! -f ~/.pi/agent/auth.json ] && echo '{}' > ~/.pi/agent/auth.jsondocker-compose up -d
docker-compose exec php bashcomposer install2026 Dominik Zogg