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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maalls/domdocument

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

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 today

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 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

3099d 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)
```

###  Alternatives

[laminas/laminas-config-aggregator-parameters

PostProcessor extension for laminas/laminas-config-aggregator to allow usage of templated parameters within your configuration

1095.8k](/packages/laminas-laminas-config-aggregator-parameters)

PHPackages © 2026

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