pear/xml_util
PEAR XML_Util provides handy helpers for working with XML: build attribute lists from arrays, generate tags, validate XML names, and more. Lightweight utility methods for creating and checking XML document parts in PHP.
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
How can I help you explore Laravel packages today?