PHP Quality Tools
Curious about checking out the quality of your PHP project, but don’t know where to start?
https://github.com/jakzal/phpqa is a project providing docker images of various tools to help measure aspects of your PHP code.
docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa phploc ./
will run the phploc tool on your current folder
But… you can alias the tool, then simply run
$ phpqa <toolname> <params>
to run any of the tools on any code.
No having to add any new dependencies to your composer, no modifications to existing code.
