43 lines
978 B
Markdown
43 lines
978 B
Markdown
|
# XML_Util - Methods to work with XML documents
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/pear/XML_Util.svg?branch=master)](https://travis-ci.org/pear/XML_Util)
|
||
|
|
||
|
|
||
|
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.
|
||
|
|
||
|
[Homepage](http://pear.php.net/package/XML_Util/)
|
||
|
|
||
|
|
||
|
## 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
|