Download the PHP package clearstream/xml-to-array without Composer
On this page you can find all versions of the php package clearstream/xml-to-array. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download clearstream/xml-to-array
More information about clearstream/xml-to-array
Files in clearstream/xml-to-array
Download clearstream/xml-to-array
More information about clearstream/xml-to-array
Files in clearstream/xml-to-array
Vendor clearstream
Package xml-to-array
Short Description Incredibly simple XML to array PHP converter
License GPL-3.0-only
Homepage https://github.com/clearstream/xml-to-array
Package xml-to-array
Short Description Incredibly simple XML to array PHP converter
License GPL-3.0-only
Homepage https://github.com/clearstream/xml-to-array
Please rate this library. Is it a good library?
Informations about the package xml-to-array
XML to array PHP converter
This package provides a very simple class to convert XML string to array.
Why should I use this package?
- because you don't like XML
- because other packages generate inconsistent array structure
- because you can't serialize SimpleXML objects (but can serialize arrays)
- because you just want to use arrays
Install
You can install this package via composer.
Usage
After running this piece of code $array
will contain:
If your input contains something that cannot be parsed a \Clearstream\XmlToArray\XmlToArrayException
will be thrown.
Testing
License
GNU GENERAL PUBLIC LICENSE. Please see License File for more information.
All versions of xml-to-array with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
ext-dom Version *
ext-libxml Version *
ext-dom Version *
ext-libxml Version *
The package clearstream/xml-to-array contains the following files
Loading the files please wait ....