A minimal skeleton to start with a minimal php project.
- php: ^8.3
- chubbyphp/chubbyphp-clean-directories: ^1.5
- chubbyphp/chubbyphp-framework: ^6.0
- chubbyphp/chubbyphp-framework-router-fastroute: ^2.3
- chubbyphp/chubbyphp-laminas-config: ^1.5
- monolog/monolog: ^3.9
- slim/psr7: ^1.8
- symfony/console: ^7.4.1|^8.0.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)Make sure all the mount points are given
touch ~/.bash_docker
touch ~/.bash_historytouch ~/.gitconfig
touch ~/.gitignoremkdir -p ~/.local/share/opencode
[ ! -f ~/.local/share/opencode/auth.json ] && echo '{}' > ~/.local/share/opencode/auth.jsontouch ~/.zsh_docker
touch ~/.zsh_historydocker-compose up -d
docker-compose exec php bashcomposer install2025 Dominik Zogg