Download the PHP package darkfriend/php7-xml without Composer
On this page you can find all versions of the php package darkfriend/php7-xml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download darkfriend/php7-xml
More information about darkfriend/php7-xml
Files in darkfriend/php7-xml
Download darkfriend/php7-xml
More information about darkfriend/php7-xml
Files in darkfriend/php7-xml
Vendor darkfriend
Package php7-xml
Short Description PHP7 library for encode/decode xml
License MIT
Homepage https://github.com/darkfriend/php7-xml
Package php7-xml
Short Description PHP7 library for encode/decode xml
License MIT
Homepage https://github.com/darkfriend/php7-xml
Please rate this library. Is it a good library?
Informations about the package php7-xml
PHP7 library for encode/decode xml
composer require darkfriend/php7-xml
- Array to XML ()
- XML to Array ()
Other php version
How to install
Array Structure
- elementName - basic example
- @attributes
key => value
(array)
- cdata - multiline text
- value - text or tree elements
- @attributes
- elementName - example element with attachments
- @attributes
key => value
(array)
- value
- elementName
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- elementName
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- elementName
- @attributes
- elementName - example element with duplicate attachments
- @attributes
key => value
(array)
- value
- elementName - duplicate element (array)
- 0
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- 1
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- 0
- elementName - duplicate element (array)
- @attributes
- elementName - example element duplicate
- 0
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- 1
- @attributes
key => value
(array)
- value - text or tree elements
- @attributes
- 0
Encode Events
- afterChild - execute function when added child element
How to use
Array to XML (encode)
Result encode
Xml string to Array (decode)
Result decode
Custom \<?xml \?> attributes and custom \<root>
Custom root element
All versions of php7-xml with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package darkfriend/php7-xml contains the following files
Loading the files please wait ....