Docker image tailored for developing, testing and maintaining Yii packages and PHP libraries. Based on official PHP CLI Debian 13 (Trixie) images and includes tools and extensions commonly needed for package development.
- Registry:
ghcr.io/yiisoft-contrib/php-dev - Supported tags:
8.1,8.2,8.3,8.4,8.5 - Platforms:
linux/amd64,linux/arm64
Warning
This image is intended for development and testing only. Do not use it in production.
# Run interactive shell
docker run --rm -it \
-v $(pwd):/app \
-w /app \
ghcr.io/yiisoft-contrib/php-dev:8.4 \
bash
# Run composer install
docker run --rm -it \
-v $(pwd):/app \
-w /app \
ghcr.io/yiisoft-contrib/php-dev:8.4 \
composer installUse in compose.yaml:
services:
php:
image: ghcr.io/yiisoft-contrib/php-dev:8.4
volumes:
- ./:/app
working_dir: /appThe "Yii PHP DEV Docker Image" is free software. It is released under the terms of the BSD License.
Please see LICENSE for more information.
Maintained by Yii Software.