File: README.md

package info (click to toggle)
php-pear 1%3A1.10.12%2Bsubmodules%2Bnotgz%2B20210212-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,540 kB
  • sloc: php: 52,900; ansic: 39,986; xml: 33,116; yacc: 677; pascal: 452; makefile: 122; sh: 113
file content (42 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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