hhvm/xhp-lib
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. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
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: 6082
- days_rel: n/a
- days_push: 1196
- n_releases_24m: 0
Adoption not part of the score
1378 stars · 160 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
library · maturity maintenance
templating ui-components serialization web-development programming-languages frontend php cross-platform hack xhp hhvm xml-fragments compile-time-markup-validation component-library
1 source
- readme: https://github.com/hhvm/xhp-lib · fetched 2026-08-28 · 6d25fb0f8eac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hhvm/xhp-lib | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem