PHP CodeSniffer logo

PHP CodeSniffer

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

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 9K GitHub stars and 1.4K GitHub forks. Here’s a link to PHP CodeSniffer's open source repository on GitHub

Who uses PHP CodeSniffer?

Companies
8 companies reportedly use PHP CodeSniffer in their tech stacks, including Like Центр, RegistreSécurité, and Bit&Black.

Developers
17 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?
ESLint
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Prettier
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.
SonarQube
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.
TSLint
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.
Stylelint
A mighty, modern CSS linter that helps you enforce consistent conventions and avoid errors in your stylesheets.
See all alternatives

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