xml-to-array
xml-to-array copied to clipboard
A simple class to convert an xml to array
Hello everyone! I fixed the xml parse which can contain newline and carriage return. Problem was resolve by user [ondrejsanetrnik](https://github.com/ondrejsanetrnik) and I decided to implement the fix to the package....
Hi, i am trying to convert the next xml: http://gd2.mlb.com/components/game/mlb/year_2019/month_05/day_02/gid_2019_05_02_slnmlb_wasmlb_1/atv_preview.xml But it doesnt work i get the next error: ``` Argument 1 passed to Vyuldashev\XmlToArray\XmlToArray::convertDomElement() must be an instance of...
Hi @vyuldashev 👋 Thank you for this great little package, it's helped me massively with a project we've had to built quickly. I ran into a small issue however which...
Hi! I want to parse a XML but this tag is generated a Exception > > [ErrorException] > Illegal string offset 'xsl:output' >
How can use it for "Model::all()" ? For example: $user = Users::get()->first()->toArray();
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. Changelog *Sourced from [phpunit/phpunit's changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-7.5.md).* > ## [7.5.14] - 2019-07-15 > > ### Fixed > > * Fixed [#3743](https://github-redirect.dependabot.com/sebastianbergmann/phpunit/issues/3743): `EmptyIterator`...
Hi, if I try to import a formatted xml file(with blank spaces, carriage returns) from a form with file upload, your function will give an error. I managed to fix...
It would be possible to return via a parameter, always the arrays _attributes _cdata _value for each node