PHP_CodeSniffer

PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" 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.

Table of Contents
The phpDocumentor package provides automatic documenting of PHP code API directly from the source. (Previous) Description and simple usage example (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

Note by: doconnor
PHP_CodeSniffer is pretty neat, because you can <a href="http://clockwerx.blogspot.com/2008/06/how-to-customise-phpcodesniffer.html">implement your own coding standards trivally</a>.