{"adoption": {"forks": 962, "observed_at": "2026-08-28T04:11:05.456332+00:00", "stars": 14082}, "canonical_url": "https://ross.abutalabs.com/products/phpstan", "card": {"archived": false, "artifact_type": "cli-tool", "description": "PHP Static Analysis Tool - discover bugs in your code without running it!", "domain": ["developer-tools", "testing", "programming-languages"], "enriched": true, "function": ["testing", "linter", "developer-tools", "type-system"], "health_score": 100, "homepage": "https://phpstan.org/", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["phpstan/phpstan"], "name": "phpstan/phpstan", "platform": ["cli", "cross-platform", "php"], "pushed_at": "2026-08-26T21:15:57+00:00", "repo": "phpstan/phpstan", "stars": 14082, "tags": ["static-analysis", "php", "code-quality", "phpdocs", "generics", "ci", "baseline"], "topics": ["phpstan", "static-analysis", "php", "php7", "testing", "static-code-analysis", "static-analyzer"], "urls": [], "use_cases": ["find bugs in PHP code without running it", "run static analysis in CI to catch errors before production", "adopt gradual type checking on a legacy PHP codebase with a baseline", "check types and generics expressed in PHPDocs", "analyze Symfony, Laravel, or Doctrine code with framework extensions", "get CI-friendly analysis output in JSON or JUnit format"], "what_it_is": "PHPStan is an open-source static analysis tool for PHP that discovers bugs in code without running it. It understands PHPDocs, supports generics and array shapes via annotations, and offers gradual adoption through rule levels and baselines.", "when_to_avoid": ["your project is not written in PHP", "you need runtime profiling, performance monitoring, or dynamic testing rather than static analysis", "you want an IDE-only linter without a standalone analyzer"], "when_to_choose": ["you maintain a PHP codebase and want to catch bugs before tests or runtime", "you want to incrementally improve type safety in legacy PHP code", "you need static analysis integrated into CI pipelines", "you want richer type checking (generics, array shapes) than native PHP type hints provide"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/phpstan", "repo": "phpstan/phpstan", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "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:11:05.456332+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:05.456332+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:12:50.061333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d37df225c8dcfbdd01d8e721293caaa03728e0bef4796dbc1a13d46b3046715", "fetched_at": "2026-08-28T04:11:05.456332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpstan/phpstan"}, {"content_hash": "8164887d741de1606862e826530e64746c7cf88a6f7179facbc2e55089a21f7f", "fetched_at": "2026-08-29T08:06:41.746853+00:00", "kind": "homepage", "missing": false, "url": "https://phpstan.org/"}, {"content_hash": "baec664264e71c436104ba595ce33438e01d74f6002138f8ea1b2f71445a13bf", "fetched_at": "2026-08-29T08:06:41.755702+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/documentation"}, {"content_hash": "4fac13af3f5f01f31844b3851e1c200ac3bc9344844c780883c16e9453ef0b4c", "fetched_at": "2026-08-29T08:06:41.760322+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/generics-in-php-using-phpdocs"}, {"content_hash": "42d8578a32b4909e35faa06d3d677816e2c14af7d5cdcbfa9c436ea11435282e", "fetched_at": "2026-08-29T08:06:41.762859+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/writing-php-code/phpdocs-basics"}, {"content_hash": "efcc3f62b7191c78e8db1a1437b51d00f40c2445749eef2786f1658c86740c07", "fetched_at": "2026-08-29T08:06:41.758097+00:00", "kind": "site_page", "missing": false, "url": "https://phpstan.org/blog/introducing-phpstan-pro"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "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": 3894, "days_push": 7, "days_rel": 11, "gap_med": 3, "n_releases_24m": 106}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}