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(3mo ago)237.8k↓10.3%1[1 issues](https://github.com/webfactory/dom/issues)1MITPHPPHP &gt;= 8.1CI passing

Since Aug 21Pushed 3mo ago5 watchersCompare

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

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

54

—

FairBetter than 97% of packages

Maintenance69

Regular maintenance activity

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.8% 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

109d 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 (30 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

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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