(( gitHubWatchers )) (( gitHubStars )) (( gitHubForks ))

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.

It checks the input PHP source code and reports any deviations from the coding convention.

The tool uses the PEAR Coding Standards as the default coding convention. But it allows you to configure it to suit your coding standards.

Please visit for more information and documentation.


Install from a Composer package as a dev dependency (with Composer)

Make sure you have Composer installed.

Require it as a dev dependency:
composer require --dev phpcheckstyle/phpcheckstyle:dev-master
Run it:
php phpcheckstyle