{"adoption": {"forks": 115, "observed_at": "2026-08-28T04:05:02.113056+00:00", "stars": 1551}, "canonical_url": "https://ross.abutalabs.com/products/phpcsstandards-php_codesniffer", "card": {"archived": false, "artifact_type": "cli-tool", "description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.", "domain": ["developer-tools", "testing"], "enriched": true, "function": ["linter", "formatter", "static-site-generator", "cli", "developer-tools"], "health_score": 99, "homepage": null, "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["PHPCSStandards/PHP_CodeSniffer"], "name": "PHPCSStandards/PHP_CodeSniffer", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-21T22:18:37+00:00", "repo": "PHPCSStandards/PHP_CodeSniffer", "stars": 1551, "tags": ["coding-standards", "phpcs", "phpcbf", "psr12", "static-analysis", "code-quality", "qa", "command-line", "automation"], "topics": ["automation", "cli", "coding-standards", "php", "phpcbf", "phpcs", "psr1", "psr12", "psr2", "qa", "static-analysis"], "urls": [], "use_cases": ["enforce PSR-12 coding standards on a PHP codebase", "automatically fix coding standard violations in PHP files", "run code style checks in CI pipelines", "check PHP code style before committing", "customize a coding standard for a PHP team"], "what_it_is": "PHP_CodeSniffer is a set of two PHP scripts: phpcs tokenizes PHP files to detect violations of a defined coding standard, and phpcbf automatically corrects those violations. It is the official continuation of the abandoned squizlabs package and supports standards like PSR1 and PSR12.", "when_to_avoid": ["you need full static analysis beyond style checking (use PHPStan or Psalm)", "you are linting languages other than PHP"], "when_to_choose": ["you need to enforce or auto-fix PHP coding standards", "you want a mature, widely adopted PHP linting tool with CI integration"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/phpcsstandards-php_codesniffer", "repo": "PHPCSStandards/PHP_CodeSniffer", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:02.113056+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:30:14.996247+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb55b197f8fbf8da715de44761e91873253e899b4ea937015f49e33e5ee3ff0d", "fetched_at": "2026-08-28T04:05:02.113056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 73, "rhythm": 96}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1030, "days_push": 12, "days_rel": 27, "gap_med": 21.0, "n_releases_24m": 19}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}