PHP CodeSniffer logo

PHP CodeSniffer

A library that detects PHP, CSS and JS coding standard violations
+ 1

What is PHP CodeSniffer?

It tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. It is an essential development tool that ensures your code remains clean and consistent.
PHP CodeSniffer is a tool in the Code Review category of a tech stack.
PHP CodeSniffer is an open source tool with 10K GitHub stars and 1.5K GitHub forks. Here’s a link to PHP CodeSniffer's open source repository on GitHub

Who uses PHP CodeSniffer?

12 companies reportedly use PHP CodeSniffer in their tech stacks, including development, Like Центр, and IXCSoft.

26 developers on StackShare have stated that they use PHP CodeSniffer.

PHP CodeSniffer Integrations

PHP CodeSniffer's Features

  • Code Sniffing
  • Coding Standard Checking
  • Coding Standard Fixing

PHP CodeSniffer Alternatives & Comparisons

What are some alternatives to PHP CodeSniffer?
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
A mighty, modern CSS linter that helps you enforce consistent conventions and avoid errors in your stylesheets.
See all alternatives

PHP CodeSniffer's Followers
37 developers follow PHP CodeSniffer to keep up with related blogs and decisions.