Docker image with quality analysis tools for PHP.
- composer - Dependency Manager for PHP
- box - An application for building and managing Phars
- php-cs-fixer - PHP Coding Standards Fixer
- phpmetrics - Static Analysis Tool
- phpstan - Static Analysis Tool
- dephpend - Detect flaws in your architecture
- phpDocumentor - Documentation generator
- phpcpd - Copy/Paste Detector
- phploc - A tool for quickly measuring the size of a PHP project
- phpmd - A tool for finding problems in PHP code
- pdepend - Static Analysis Tool
- phpcs - Detects coding standard violations
- phpcbf - Automatically corrects coding standard violations
- phpcb - PHP Code Browser
- deprecation-detector - Finds usages of deprecated code
- php-coupling-detector - Detects code coupling issues
- analyze - Visualizes metrics and source code
- design-pattern - Dettects design patterns
- parallel-lint - Checks PHP file syntax
Pull the image:
docker pull jakzal/phpqa
The default command will list available tools:
docker run -it --rm jakzal/phpqa
To run the selected tool inside the container, you'll need to mount the project directory on the container:
docker run -it --rm -v $(pwd):/project -w /project jakzal/phpqa phpstan analyse src
git clone https://github.com/jakzal/phpqa.git
cd phpqa
make build
To build the alpine version:
make build-alpine