PHP_CodeSniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
Static Code AnalysisStatic Analysis (SAST) & LintingOpen Source
About
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.
Open Source Health
- Stars
- 1,556
- Forks
- 115
- License
- BSD-3-Clause
- Last commit
- 1 months ago
PHP
Alternatives to PHP_CodeSniffer
- Zhlintby zhlintA linting tool for Chinese language.
- Peckerby RoyCodePecker is a tool to detect unused Swift code.
- Wartremoverby wartremoverFlexible Scala code linting tool
- TeXtidoteby Sylvain HalléSpelling, grammar and style checking on LaTeX documents
- Secretlintby SecretlintPluggable linting tool to prevent committing credential.
Resources & Links
Related Categories
Using PHP_CodeSniffer?
Track its cost next to the rest of your stack and get a reminder before it renews.
Add to my stackVendor
PHPCSStandards
Open-source project on GitHub: PHP_CodeSniffer