bentools / simplexmlextended
Some extra functions to work with SimpleXml.
Installs: 20 559
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-10-15 00:11:50 UTC
README
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
Add the following line into your composer.json :
{
"require": {
"bentools/simplexmlextended": "dev-master"
}
}
Enjoy.