PHPackages                             bentools/simplexmlextended - 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. bentools/simplexmlextended

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

bentools/simplexmlextended
==========================

Some extra functions to work with SimpleXml.

1.2.0(10y ago)024.2k↓27.1%1MITPHPPHP &gt;=5.3

Since Mar 5Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (5)Used By (0)

SimpleXMLExtended
-----------------

[](#simplexmlextended)

Just an enhancement of the PHP5 native SimpleXmlElement. Adds the ability to add / replace / remove childs, with or without CDATA, and some method chainings such as dXpath() (for returning the 1st Xpath element found), etc. Fixes the \_\_toString() default method that does not properly convert to your encoding if you're not using UTF-8 (requires PHP 5.4+).

Installation
------------

[](#installation)

Add the following line into your composer.json :

```
{
    "require": {
        "bentools/simplexmlextended": "dev-master"
    }
}

```

Enjoy.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~30 days

Total

4

Last Release

4000d ago

### Community

Maintainers

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

---

Top Contributors

[![bpolaszek](https://avatars.githubusercontent.com/u/5569077?v=4)](https://github.com/bpolaszek "bpolaszek (2 commits)")[![ben-synapse](https://avatars.githubusercontent.com/u/36077477?v=4)](https://github.com/ben-synapse "ben-synapse (1 commits)")

---

Tags

xmlSimpleXMLsimplexmlelementsimple xmlsimple xml element

### Embed Badge

![Health badge](/badges/bentools-simplexmlextended/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[sabre/xml

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

52832.2M131](/packages/sabre-xml)[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)

PHPackages © 2026

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