PHPackages                             maalls/domdocument - 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. maalls/domdocument

ActiveLibrary

maalls/domdocument
==================

v1.0.5(8y ago)01.3k[1 issues](https://github.com/maalls/DomDocument/issues)1PHP

Since Oct 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maalls/DomDocument)[ Packagist](https://packagist.org/packages/maalls/domdocument)[ RSS](/packages/maalls-domdocument/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (1)

DomDocument
===========

[](#domdocument)

DomDocument Factory that handles charset encoding.

You can create the DomDocument Object directly from the URL or from the HTML.

The class extract the encoding from the HTTP request, HTML header and format the HTML to be properly parsable by the DomDocument class.

Example
=======

[](#example)

Check the [test file](/test/FactoryTest.php) for example on how to use it.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~242 days

Recently: every ~58 days

Total

6

Last Release

3008d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1229999?v=4)[Malo](/maintainers/maalls)[@maalls](https://github.com/maalls)

---

Top Contributors

[![maalls](https://avatars.githubusercontent.com/u/1229999?v=4)](https://github.com/maalls "maalls (27 commits)")

### Embed Badge

![Health badge](/badges/maalls-domdocument/health.svg)

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

PHPackages © 2026

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