2017 © Pedro Peláez
 

library xml-to-array-schema

Convert xml document to array

image

mrgenis/xml-to-array-schema

Convert xml document to array

  • Wednesday, July 18, 2018
  • by mrgenis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 62 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 48 % Grown

The README.md

xml-to-array-schema

Convert xml document to associative array., (*1)

The function automatically detects the schematic of the document and uses it to format the elements that may appear more than once in an index array., (*2)

If it is not possible to detect the scheme, it generates an array of those elements that appear more than once in the form of an indexed array., (*3)

composer require mrgenis/xml-to-array-schema

Example

  • \DomDocument
  • \SimpleXMLElement
  • string
$data = \MrGenis\Library\XmlToArray::convert($xml);

The Versions

18/07 2018

dev-master

9999999-dev

Convert xml document to array

  Sources   Download

MIT

The Requires

  • php >=7.0
  • ext-xmlwriter *
  • ext-xmlreader *
  • ext-dom *
  • lib-libxml >=2.6.20

 

The Development Requires

by Sergio Flores Genis

xml array dom simplexml domdocument

18/07 2018

1.0.1

1.0.1.0

Convert xml document to array

  Sources   Download

MIT

The Requires

  • php >=7.0
  • ext-xmlwriter *
  • ext-xmlreader *
  • ext-dom *
  • lib-libxml >=2.6.20

 

The Development Requires

by Sergio Flores Genis

xml array dom simplexml domdocument

24/01 2018

1.0

1.0.0.0

Convert xml document to array

  Sources   Download

MIT

The Requires

  • php >=7.0
  • ext-xmlwriter *
  • ext-xmlreader *
  • ext-dom *
  • lib-libxml >=2.6.20

 

The Development Requires

by Sergio Flores Genis

xml array dom simplexml domdocument