EVERYTHING XIAOMI
Get listed
Side by side

PHP_CodeSniffer vs PMD

PMD

6.8#2 in lintersFree plan
Free planLinuxmacOSSelf-hostedWindows
Visit

What both publish

FactPHP_CodeSnifferPMD
InstallationThe project documents installation through PHAR downloads, Composer, Phive, or a Git clone.PMD requires Java 8 or above and is distributed as a ZIP archive containing PMD and CPD.
LicenseThe repository identifies PHP_CodeSniffer as BSD-3-Clause licensed.The project identifies its license as BSD-style.
PurposePHP_CodeSniffer tokenizes PHP files and detects violations of a defined coding standard.PMD is an extensible cross-language static code analyzer that finds common programming flaws.
SupportThe project directs users to its GitHub issue tracker for bug reports and feature requests and to its wiki for documentation.The project directs users to Stack Overflow for questions, GitHub issues for suspected bugs or requests, and Gitter for quick questions.

PHP_CodeSniffer plans

  • PHP_CodeSnifferFree

PMD plans

  • PMDFree

Pick PHP_CodeSniffer if…

You want what its maker publishes above — check its page for the details.

Pick PMD if…

PMD suits developers and teams who want static checks across supported languages, custom rules, and duplicate-code detection. It can fit command-line, build-tool, and CI workflows, provided the required Java version is available.

Charts they share