PHPackages                             highwire/better-dom-document - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. highwire/better-dom-document

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

highwire/better-dom-document
============================

BetterDOMDocument is a handy PHP utility class for working with XML. It's a wrapper for PHP's built in DOMDocument that provides a bunch of nice shortcuts that makes working with XML in PHP a breeze. It has great built-in support for namespaces, and xpath.

4.0.1(1y ago)1527.5k—8.8%BSD-3-Clause

Since Dec 9Compare

[ Source](https://github.com/highwire/opensource-php-BetterDOMDocument)[ Packagist](https://packagist.org/packages/highwire/better-dom-document)[ Docs](https://github.com/highwire/opensource-php-BetterDOMDocument)[ RSS](/packages/highwire-better-dom-document/feed)WikiDiscussions Synced 2d ago

READMEChangelogDependencies (2)Versions (29)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/highwire/opensource-php-BetterDOMDocument).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity74

Established project with proven stability

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 ~122 days

Recently: every ~98 days

Total

24

Last Release

641d ago

Major Versions

2.1.6 → 3.0.02021-09-28

3.0.14 → 4.0.02024-10-01

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/highwire-better-dom-document/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[spatie/laravel-pjax

A pjax middleware for Laravel 5

523386.8k11](/packages/spatie-laravel-pjax)[dominikb/composer-license-checker

Utility to check for licenses of dependencies and block/allow them.

574.6M14](/packages/dominikb-composer-license-checker)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M343](/packages/drupal-core-dev)[fusonic/opengraph

PHP library for consuming and publishing Open Graph resources.

104401.8k5](/packages/fusonic-opengraph)

PHPackages © 2026

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