PHPackages                             sammyjo20/xml-to-array - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. sammyjo20/xml-to-array

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

sammyjo20/xml-to-array
======================

Convert an XML string into an easy to understand array

v1.0.0(4y ago)23.2kMITPHPPHP ^8.0

Since Feb 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Sammyjo20/xml-to-array)[ Packagist](https://packagist.org/packages/sammyjo20/xml-to-array)[ RSS](/packages/sammyjo20-xml-to-array/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Convert XML into an array
=========================

[](#convert-xml-into-an-array)

[![Build Status](https://github.com/sammyjo20/xml-to-array/workflows/tests/badge.svg)](https://github.com/sammyjo20/xml-to-array/actions)

This package provides an easy way to convert an XML string into an array.

> Inspired by Spatie's [array-to-xml](https://github.com/spatie/array-to-xml).

Install
-------

[](#install)

You can install this package with Composer.

```
composer require sammyjo20/xml-to-array
```

Usage
-----

[](#usage)

```
