Docker image with useful tools to audit a PHP project.
Warning: You must mount a directory to /srv
to make the entrypoint work (it change you to www-data user).
Don't share your local .composer
folder to the container.
$ docker run -it --rm \
-v "$PWD":/srv \
solune/phaudit:latest \
sh
- PHP Static Analysis Tool as
phpstan
- PhpDependencyAnalysis as
phpda
- Twig Coding Standards as
twigcs
- PHP Coding Standards Fixer as
php-cs-fixer
- YAML Linter as
yaml-linter
- PHP_Depend as
pdepend
- Phan as
phan
- PHP Mess Detector as
phpmd
- Deptrac as
deptrac
- Security Checker as
security-checker
Adapted from jolicode/phaudit and from mykiwi/phaudit