PHPStan
Run PHPStan static analysis in CI using the php-ci Docker image — local commands and pipeline examples.
Code Coverage
Generate PHPUnit code coverage reports with php-ci — PCOV/Xdebug, CLI flags and CI artifacts.
Multi-Stage Builds
When to use php-ci as-is versus extending it with multi-stage Dockerfiles and layer caching.
Migrate from setup-php
Replace shivammathur/setup-php steps with the php-ci Docker container in GitHub Actions, GitLab CI and Bitbucket.
Troubleshooting
Fix common php-ci Docker and CI errors — pull failures, permissions, extensions and Composer issues.
Security
Secure php-ci usage in CI — pin image digests, protect secrets, scan images and report vulnerabilities.