Ross ROSS = Recommend OSS · open-source software intelligence for agents

squizlabs/PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. observed · 2026-08-28

github.com/squizlabs/PHP_CodeSniffer · PHP · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5417
  • days_rel: n/a
  • days_push: 884
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

10779 stars · 1449 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

PHP_CodeSniffer is a pair of PHP CLI scripts (phpcs and phpcbf) that tokenize PHP, JavaScript, and CSS files to detect violations of defined coding standards and automatically fix them. This original squizlabs repository has been abandoned in favor of the PHPCSStandards/PHP_CodeSniffer successor.

Use cases

  • enforce coding standards in php projects
  • automatically fix code style violations
  • run code style checks in ci pipeline
  • lint php files against psr standards
  • keep team codebase consistent

When to choose

  • you need battle-tested php coding standard enforcement with auto-fixing
  • you want psr-1/psr-12 or custom sniff-based standards
  • you need a phar or composer-installable linter for legacy php versions

When to avoid

  • starting a new project - use the maintained PHPCSStandards/PHP_CodeSniffer fork instead
  • you need linting for languages beyond php, js, and css
  • you need deep static analysis rather than style checking

Facets

cli-tool · maturity abandoned

linter formatter cli developer-tools developer-tools testing php cli cross-platform static-analysis coding-standards phpcs phpcbf code-style qa command-line automation

1 source

Member repositories

RepositoryRoleHealth v2
squizlabs/PHP_CodeSniffermain23

For agents

markdown · JSON · MCP: product_card(name="squizlabs/PHP_CodeSniffer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem