{"adoption": {"forks": 1132, "observed_at": "2026-08-28T04:11:19.849963+00:00", "stars": 17456}, "canonical_url": "https://ross.abutalabs.com/products/php-parser", "card": {"archived": false, "artifact_type": "library", "description": "A PHP parser written in PHP", "domain": ["parsers", "programming-languages", "developer-tools"], "enriched": true, "function": ["parser", "static-site-generator", "developer-tools"], "health_score": 98, "homepage": null, "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["nikic/PHP-Parser"], "name": "nikic/PHP-Parser", "platform": ["php"], "pushed_at": "2026-08-23T19:01:01+00:00", "repo": "nikic/PHP-Parser", "stars": 17456, "tags": ["ast", "php-parser", "static-analysis", "code-generation", "code-manipulation"], "topics": ["php", "parser", "ast", "static-analysis"], "urls": [], "use_cases": ["parse php code into an ast", "build a static analysis tool for php", "refactor php code programmatically", "generate php code from an ast", "detect deprecated php syntax in a codebase", "write a custom php linter", "transpile or transform php source code"], "what_it_is": "A PHP parser written in PHP that converts PHP 5.x through 8.4 code into an abstract syntax tree (AST). It provides AST traversal, modification, pretty-printing back to code, name resolution, and constant expression evaluation for static analysis and code manipulation.", "when_to_avoid": ["you need to parse a language other than PHP", "you need a runtime interpreter or execution engine rather than a parser", "you need to parse PHP 4 or older code"], "when_to_choose": ["you need to parse, analyze, or transform PHP source code in a PHP project", "you want accurate location information and error-tolerant parsing of invalid code", "you need to preserve formatting when modifying code", "you are building linters, codemods, or code generators for PHP"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-parser", "repo": "nikic/PHP-Parser", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "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:19.849963+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:19.849963+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:02:56.793530+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ebdd809dbfbc0452cb2ed8a4ebdcf76c2d3eec8b0c4f34d2b526315ea812d9d", "fetched_at": "2026-08-28T04:11:19.849963+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/PHP-Parser"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 91}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5616, "days_push": 10, "days_rel": 60, "gap_med": 17, "n_releases_24m": 14}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}