About WebCodeSniffer

WebCodeSniffer is a web interface of PHP_CodeSniffer.


The goal of WebCodeSniffer is to help developers to write clean, consistent, structured and standards-compliant code in order to prevent bugs and to make the code easy to maintain, read, share and distribute.

PHP_CodeSniffer & EasyPHP Devserver

PHP_CodeSniffer also exists as a module for EasyPHP Devserver.

Devserver and Code Sniffer


WebCodeSniffer is developed and maintained by Laurent Abbal. WebCodeSniffer is a web interface of PHP_CodeSniffer developped and mainteanned by Greg Sherwood for Squizlabs.

Contact Us

You can contact us : email

About PHP_CodeSniffer

"PHP_CodeSniffer is a PHP5 script that tokenises PHP, JavaScript and CSS files to detect violations of a defined set of coding standards. 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".
More on GitHub

Coding Standards & Conventions

The PHP community is large and diverse, composed of innumerable libraries, frameworks, and components. It is common for PHP developers to choose several of these and combine them into a single project. It is important that PHP code adhere (as close as possible) to a common code style to make it easy for developers to mix and match various libraries for their projects.

The Framework Interop Group has proposed and approved a series of style recommendations. Not all of them related to code-style, but those that do are PSR-1, PSR-12 and PSR-4. These recommendations are merely a set of rules that many projects like Drupal, Zend, Symfony, Laravel, CakePHP, phpBB, AWS SDK, FuelPHP, Lithium, etc are adopting. You can use them for your own projects, or continue to use your own personal style.

Ideally, you should write PHP code that adheres to a known standard. This could be any combination of PSRs, or one of the coding standards made by PEAR or Zend. This means other developers can easily read and work with your code, and applications that implement the components can have consistency even when working with lots of third-party code.
read more on PHP The Right Way...

PHP Standard Recommendation on PHP-FIG...
Coding conventions on Wikipedia