PHPackages                             dataground/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. dataground/simpledom

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

dataground/simpledom
====================

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

1.0.10(1y ago)041.5k↓16.1%1MITPHPPHP &gt;=7.4.0

Since Nov 27Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (11)Used By (0)

SimpleDOM
=========

[](#simpledom)

[![Build Status](https://camo.githubusercontent.com/0e77538e6d00d0ad04d10b5fdda219e01084fd7e964cf1dbfb4965f90b828c62/68747470733a2f2f7472617669732d63692e6f72672f6461746167726f756e642f73696d706c65646f6d2e737667)](https://travis-ci.org/dataground/simpledom)

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. SimpleDOM is a single file with no dependencies. All you need to use it is include it and create SimpleDOM objects instead of SimpleXMLElement objects, or simply use simpledom\_load\_string() instead of simplexml\_load\_string(). No user manual, but every method is documented in the phpDocumentor-generated output, see doc/ for more information.

History
-------

[](#history)

Forked 27-11-2014 of the unsupported [SimpleDOM project on google code](https://code.google.com/p/simpledom/)

Usage
-----

[](#usage)

Usage just like SimpleXML

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance42

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 81.4% 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 ~414 days

Recently: every ~932 days

Total

10

Last Release

462d ago

PHP version history (2 changes)1.0.1PHP &gt;=5.4.0

1.0.10PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/294096?v=4)[PK](/maintainers/dataground)[@dataground](https://github.com/dataground)

---

Top Contributors

[![dataground](https://avatars.githubusercontent.com/u/294096?v=4)](https://github.com/dataground "dataground (35 commits)")[![mrdm-nl](https://avatars.githubusercontent.com/u/6248354?v=4)](https://github.com/mrdm-nl "mrdm-nl (8 commits)")

---

Tags

xmldomSimpleXML

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)[veewee/xml

XML without worries

1835.9M29](/packages/veewee-xml)[fluentdom/fluentdom

A fluent api for the php dom extension.

337306.9k17](/packages/fluentdom-fluentdom)[dkrnl/simplexmlreader

Wrapper XMLReader class, for simple SAX-reading(and simple XPath-queries) of huge(testing over 1G file) xml.

112951.5k](/packages/dkrnl-simplexmlreader)[rct567/dom-query

DomQuery is a PHP library that allows easy 'jQuery like' DOM traversing and manipulation

134261.0k4](/packages/rct567-dom-query)

PHPackages © 2026

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