PHPCheckstyle

Author(s)
Hari Kodungallur, Nimish Pachapurkar, Benoit Pesty, James Brooks, Marcin Kurczewski
Website
https://github.com/PHPCheckstyle/phpcheckstyle
License
Open Software License version 2.1
Wiki
https://github.com/PHPCheckstyle/phpcheckstyle/wiki
GitHub
PHPCheckstyle/phpcheckstyle
Packagist
phpcheckstyle/phpcheckstyle
DockerHub
phpqa/phpcheckstyle

0 0 0

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 https://github.com/PHPCheckstyle/phpcheckstyle/wiki for more information and documentation.

Installation

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