7.x-fpm-x.x,latest(Dockerfile)7.x-fpm-x.x-nginx,latest-nginx(Dockerfile)7.x-fpm-x.x-alpine,latest-alpine(Dockerfile)7.x-fpm-x.x-alpine-nginx,latest-alpine-nginx(Dockerfile)
latest images are currently built based on the release/4.x branch
ℹ️ See repository tags for full version numbers
See all available image tags
This is a Docker PHP image containing PHP extensions and composer packages and libraries for Yii 2.0 Framework. It is primarily intended to build Yii 2.0 applications FROM this image, see below for available application templates.
There is also an nginx flavour available for this image, in which PHP and nginx are managed with forego.
composercodeceptphpunitnpm
- soap
- zip
- curl
- bcmath
- exif
- gd
- iconv
- intl
- mbstring
- opcache
- pdo_mysql
- pdo_pgsql
- memcache - Alpine only
- xdebug - installed, but not loaded by default
GITHUB_API_TOKENPHP_ENABLE_XDEBUGPHP_USER_ID(debian only)
Building the images
docker-compose build Development bash
docker run -it dmstr/php-yii2 bash - GitHub project
- GitLab build
- DockerHub image
- yii2-app minimal application tempplate
- phd5 standard application template
- phd5 documentation
