A curated list of amazingly awesome Dockerized PHP tools.
These Docker images fulfil the following requirements:
- The Docker image must be availabe via Docker Hub
- The Dockerfile source must be available (on Github, Bitbucket, ...)
- The Docker image do support the current version of the contained PHP tool
- (The Docker image are based on Alpine Linux for minimimal filesize usage)
Codeception is a modern full-stack testing framework for PHP.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run -v ${PWD}:/project codeception/codeception run
Composer is a tool for dependency management in PHP, written in PHP.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run --rm --interactive --tty --volume $PWD:/app composer install
Humbug is a Mutation Testing framework for PHP to measure the real effectiveness of your test suites and assist in their improvement.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run -v $PWD:/app --rm dockerizedphp/humbug
PHP_CodeSniffer's phpcbf is a script to automatically correct coding standard violations.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run --rm --user $(id -u):$(id -g) -v $(pwd):/project herloct/phpcbf
PHP_CodeSniffer tokenizes PHP and detects violations of a defined set of coding standards.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run --rm -v /local/path:/project herloct/phpcs
The Coding Standards fixer for your code.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run --rm --user $(id -u):$(id -g) -v /local/path:/project herloct/php-cs-fixer
A tool for quickly measuring the size of a PHP project.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run -v $PWD:/app --rm dockerizedphp/phploc
PHP Static Analysis Tool - discover bugs in your code without running it!
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run -v $PWD:/app --rm phpstan/phpstan analyse /app/src
The PHP Unit Testing framework.
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run -v $(pwd):/app --rm phpunit/phpunit run
Check your PHP project for known security issues!
Project | Docker Hub | Dockerfile Repository |
---|
Usage:
docker run --rm -v $(pwd)/composer.lock:/composer.lock jsixc/sensiolabs-security-checker:7.1