Selection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more.
For a PEAR installation that downloads from the PEAR channel:
$ pear install pear/xml_util
For a PEAR installation from a previously downloaded tarball:
$ pear install XML_Util-*.tgz
For a PEAR installation from a code clone:
$ pear install package.xml
For a local composer installation:
$ composer install
To add as a dependency to your composer-managed application:
$composer require pear/xml_util
Run the tests from a local composer installation:
$ ./vendor/bin/phpunit -c phpunit.xml.dist
BSD license