talira

Compare

CheckstylePHP_CodeSnifferSlevomat Coding StandardXO
What it isChecks Java source code against configurable coding-standard rulesDetect and fix coding standard violations in PHPExtra PHP_CodeSniffer sniffs for safer, cleaner and consistently formatted PHPZero-config JavaScript and TypeScript linter built on ESLint
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.710.740.570.50
Stars9674157414787995
Last commit2026-11-292026-11-232026-11-262026-09-18
LicenceLGPL-2.1-or-laterBSD-3-ClauseMITMIT
PricingFreeFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP server————
CompanyCheckstylePHPCSStandardsSlevomat.cz, s.r.o.Sindre Sorhus
Features
  • Checks naming, imports, Javadoc, formatting, whitespace, class design, size and coding practices
  • Ready-made configurations for Google's, Sun's and OpenJDK's Java styles
  • Runs from the command line and as an Ant task
  • XPath-based suppression and filters
  • Extensible with custom checks, filters and listeners
  • phpcs detects coding standard violations
  • phpcbf fixes them automatically
  • built-in standards and custom rulesets
  • project configuration files
  • signed PHAR downloads and Composer
  • functional sniffs that improve code safety and behaviour
  • cleaning sniffs that detect dead code
  • formatting sniffs for consistent code style
  • automatic fixing for many sniffs
  • local suppression of sniff checks
  • zero-config ESLint with strict defaults
  • TypeScript supported by default
  • lints JS, TS, HTML, Markdown, JSON and CSS
  • bundled unicorn, import-x, ava and n plugins
  • cached runs and --fix
  • Prettier compatibility option
Limitations
      • Sniffs expect syntactically valid code and can behave unexpectedly on files with parse errors; its makers advise running PHP Parallel Lint first.
      • Requires the project to use ES modules (ESM).