PHPackages                             webfactory/dom - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. webfactory/dom

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

webfactory/dom
==============

Utilities for processing XHTML and Polyglot HTML5 documents with the PHP DOM extension

1.2.2(5mo ago)239.4k↓47.4%1[1 issues](https://github.com/webfactory/dom/issues)1MITPHPPHP &gt;= 8.1CI passing

Since Aug 21Pushed 2w ago5 watchersCompare

[ Source](https://github.com/webfactory/dom)[ Packagist](https://packagist.org/packages/webfactory/dom)[ RSS](/packages/webfactory-dom/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (36)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/webfactory/dom).

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance76

Regular maintenance activity

Popularity31

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Recently: every ~38 days

Total

34

Last Release

155d ago

Major Versions

1.0.26 → 161357.x-dev2023-07-11

PHP version history (3 changes)1.0.29PHP ^7.2|8.0.\*|8.1.\*|8.2.\*

1.1.0PHP ^7.2|8.0.\*|8.1.\*|8.2.\*|8.3.\*

1.2.0PHP &gt;= 8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4ed0a0f5a1c56f7df31bb8c854a2ad99d24281dc8df4b4d3dd986a9e84b7a24?d=identicon)[webfactory](/maintainers/webfactory)

---

Top Contributors

[![mpdude](https://avatars.githubusercontent.com/u/1202333?v=4)](https://github.com/mpdude "mpdude (31 commits)")[![relthyg](https://avatars.githubusercontent.com/u/8628559?v=4)](https://github.com/relthyg "relthyg (1 commits)")[![sebastiankugler](https://avatars.githubusercontent.com/u/4364200?v=4)](https://github.com/sebastiankugler "sebastiankugler (1 commits)")

---

Tags

domphpxml

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webfactory-dom/health.svg)

```
[![Health](https://phpackages.com/badges/webfactory-dom/health.svg)](https://phpackages.com/packages/webfactory-dom)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
