pear / xml_util
Methods to work with XML documents
v1.4.5
2020-04-19 15:08 UTC
Requires
- php: >=5.4
- pear/pear-core-minimal: ^1.10.1
Requires (Dev)
- phpunit/phpunit: <=7
README
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.
Installation
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
Tests
Run the tests from a local composer installation:
$ ./vendor/bin/phpunit -c phpunit.xml.dist
License
BSD license