PHPackages                             joseph/xml-util - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. joseph/xml-util

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joseph/xml-util
===============

An XML untility package

0.0.1(9y ago)016MITPHP

Since May 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/arunjoseph/xml-helper)[ Packagist](https://packagist.org/packages/joseph/xml-util)[ RSS](/packages/joseph-xml-util/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

XML Utility Classes
-------------------

[](#xml-utility-classes)

This class will help you in accomplishing various actions needed when working with XML and also the class is PSR-4 namespaced

### Convert from Array to XML

[](#convert-from-array-to-xml)

```
;

$xml = \Joseph\Xml\Util\XML2Array::getInstance();
$xml->loadData($movies);
var_dump($xml->getArray());
```

Will result in

```
