CodeSniffer
PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
BSD License
1.4.0 (stable) was released on 2012-09-26 (Changelog)
Easy Install
Not sure? Get more info.
pear install PHP_CodeSniffer
Pyrus Install
Try PEAR2's installer, Pyrus.
php pyrus.phar install pear/PHP_CodeSniffer
Development Roadmap
Report a new bug to PHP_CodeSniffer
PHP_CodeSniffer is a PHP5 script that tokenises PHP, JavaScript and CSS files to detect violations of a defined coding standard. It is an essential development tool that ensures your code remains clean and consistent. It can also help prevent some common semantic errors made by developers.
Greg Sherwood (lead)