{"adoption": {"forks": 160, "observed_at": "2026-08-28T04:04:33.598322+00:00", "stars": 1378}, "canonical_url": "https://ross.abutalabs.com/products/xhp-lib", "card": {"archived": true, "artifact_type": "library", "description": "Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions.", "domain": ["web-development", "programming-languages", "frontend"], "enriched": true, "function": ["templating", "ui-components", "serialization"], "health_score": 10, "homepage": "http://facebook.github.io/xhp-lib/", "language": "Hack", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["hhvm/xhp-lib"], "name": "hhvm/xhp-lib", "platform": ["php", "cross-platform"], "pushed_at": "2023-05-25T16:04:04+00:00", "repo": "hhvm/xhp-lib", "stars": 1378, "tags": ["hack", "xhp", "hhvm", "xml-fragments", "compile-time-markup-validation", "component-library"], "topics": ["facebook", "hacklang", "hack", "xhp"], "urls": [], "use_cases": ["render html markup in hack with compile-time validation", "build reusable ui components in hack", "use hack as a stricter templating engine", "prevent mismatched html tags at compile time", "compose complex nested xml document fragments in code"], "what_it_is": "XHP-Lib provides the class libraries for XHP, a Hack language feature that makes XML/HTML fragments valid Hack expressions. It lets developers build reusable, type-checked UI components where markup structure is validated at compile time.", "when_to_avoid": ["your project uses plain PHP rather than Hack/HHVM", "you need a general-purpose templating language with runtime flexibility", "you are not on the HHVM toolchain"], "when_to_choose": ["you are writing a Hack/HHVM web application and want type-safe templating", "you want markup errors caught at compile time instead of runtime", "you prefer component-based html construction over string templates"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/xhp-lib", "repo": "hhvm/xhp-lib", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "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:04:33.598322+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.598322+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:40:23.080246+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d25fb0f8eac7a729bc684a443db9287b23b4bb34c5593ef36ed2a162df89f77", "fetched_at": "2026-08-28T04:04:33.598322+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hhvm/xhp-lib"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6082, "days_push": 1196, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}