PHPackages                             lum/simpledom - 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. lum/simpledom

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

lum/simpledom
=============

A bridge between SimpleXML and the DOM extension.

v3.0.0(4y ago)05.9k↓33.3%3MITPHPPHP ^7.4 || ^8.0

Since Sep 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/supernovus/simpledom)[ Packagist](https://packagist.org/packages/lum/simpledom)[ Docs](https://github.com/supernovus/simpledom)[ RSS](/packages/lum-simpledom/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (3)

SimpleDOM
=========

[](#simpledom)

Summary
-------

[](#summary)

A bridge between SimpleXML and the DOM extension, plus a bunch of convenience methods.

Description
-----------

[](#description)

SimpleDOM is built upon SimpleXML and acts as a bridge providing DOM methods using SimpleXML's syntax. It also adds a bunch of convenience methods.

Functional interface
--------------------

[](#functional-interface)

The older versions of this library exported some functions into the global PHP namespace. These are no longer included in the base package.

If you have legacy code requiring the global functions, you can install [simpledom-functional](https://github.com/supernovus/simpledom-functional) from composer and it will add them. I do recommend moving away from the global functions and using the newer static class methods instead.

Documentation
-------------

[](#documentation)

Run `make doc` to download phpDocumentor and build the docs. The makefile is set up to use `wget` so if you require a different download tool, you'll need to download the file manually and name it `./phpdoc`.

Tests
-----

[](#tests)

NOTE: Many of the tests are currently broken as they were written for an older version of PHPUnit. I will be updating them when I have a chance.

Run `make test` to run the tests with PHPUnit, which is installed via composer.

Credits
-------

[](#credits)

This library was originally cloned from  where it appears to have been worked on until 2010.

I've been slowly updating it ever since forking it in 2016.

License
-------

[](#license)

[MIT License](http://www.opensource.org/licenses/mit-license.php)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

Recently: every ~202 days

Total

6

Last Release

1613d ago

Major Versions

v2.x-dev → v3.0.02021-12-17

PHP version history (3 changes)v2.1.0PHP ^5.6 || ^7.0

v2.1.2PHP ^5.6 || ^7.0 || ^8.0

v3.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ff04349507190155013e4a94a8b14860a7ac57afce4ba97961c7c79bd023dd7?d=identicon)[supernovus](/maintainers/supernovus)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lum-simpledom/health.svg)

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

###  Alternatives

[mention/fast-doctrine-paginator

Fast Doctrine paginator for batching, infinite scrolling, Relay

18117.9k](/packages/mention-fast-doctrine-paginator)

PHPackages © 2026

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