Masterminds/html5-php
An HTML5 parser and serializer for PHP. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 66
- Longevity 100
Flags: no_license
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: 194.0
- age_days: 4901
- days_rel: 15
- days_push: 15
- n_releases_24m: 3
Adoption not part of the score
1782 stars · 120 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A standards-compliant HTML5 parser and serializer written entirely in PHP. It parses HTML5 documents and fragments into standard PHP DOM objects and serializes DOM back to HTML5, with an event-based SAX-like parser and DOM tree builder.
Use cases
- parse html5 documents in php
- convert html to domdocument
- serialize dom to html5
- extract content from html pages
- sanitize and rewrite html fragments
- build a web scraper in php
When to choose
- you need spec-compliant HTML5 parsing in PHP
- you want DOM or SAX-style access to HTML
- you need to serialize PHP DOM documents back to HTML5
When to avoid
- you are parsing XML rather than HTML5
- you need a full browser rendering engine
- your project is not PHP-based
Facets
library · maturity stable
parser serialization web-scraping web-development parsers developer-tools php html5 dom html5lib serializer sax-parser web-server
2 sources
- readme: https://github.com/Masterminds/html5-php · fetched 2026-08-28 · 165dbb17f3a6
- homepage: http://masterminds.github.io/html5-php/ · fetched 2026-08-29 · 112e76aeeb8f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Masterminds/html5-php | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="Masterminds/html5-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem