PHPackages                             rackbeat/php-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rackbeat/php-xml-to-array

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

rackbeat/php-xml-to-array
=========================

Convert XML into arrays

0.5(7y ago)046.7kMITPHPPHP &gt;=7.1

Since Jul 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Rackbeat/php-xml-to-array)[ Packagist](https://packagist.org/packages/rackbeat/php-xml-to-array)[ RSS](/packages/rackbeat-php-xml-to-array/feed)WikiDiscussions master Synced 1mo ago

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

Convert XML files to Arrays, the right way
==========================================

[](#convert-xml-files-to-arrays-the-right-way)

Opinionated, configurable and easy to use.

 [![Build Status](https://camo.githubusercontent.com/2e114e1c7e69979436541527338f33ecdb97fc6be1cee898a99595fa531d634f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5261636b626561742f7068702d786d6c2d746f2d61727261792e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Rackbeat/php-xml-to-array)[![Coverage](https://camo.githubusercontent.com/7f199b990168697437a3d47f6a38399dd7beb910acb6568fa99f0538bb318431/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f5261636b626561742f7068702d786d6c2d746f2d61727261792e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/Rackbeat/php-xml-to-array)[![Total Downloads](https://camo.githubusercontent.com/481d0e622f8082c68430776987f1766ce466e771f2c0ca104c07ca6f8748caf1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7261636b626561742f7068702d786d6c2d746f2d61727261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rackbeat/php-xml-to-array)[![Latest Stable Version](https://camo.githubusercontent.com/e1ebdddb40ca11fd403f2c725e28723b00b505226fcf1100e44ab9f00490287a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7261636b626561742f7068702d786d6c2d746f2d61727261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rackbeat/php-xml-to-array)[![License](https://camo.githubusercontent.com/5a15a73b05b3df74ef1c445f81526001af468408ace0b5d24076ddf2bca6ceba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7261636b626561742f7068702d786d6c2d746f2d61727261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rackbeat/php-xml-to-array)

Installation
------------

[](#installation)

You just require using composer and you're good to go!

```
composer require rackbeat/php-xml-to-array
```

If you're using Laravel, a service provider and facade is included for configuration. You should publish config using `php artisan vendor:publish`

Usage
-----

[](#usage)

Coming soon...

Laravel
-------

[](#laravel)

Coming soon...

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2853d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd953630eb9784e977637a0fe53be91b9dd4b0262a5b5b1fa9277e0c2806b65c?d=identicon)[lasserafn](/maintainers/lasserafn)

---

Top Contributors

[![LasseRafn](https://avatars.githubusercontent.com/u/2689341?v=4)](https://github.com/LasseRafn "LasseRafn (5 commits)")

---

Tags

phplaravelxmlarrayxml-to-array

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rackbeat-php-xml-to-array/health.svg)

```
[![Health](https://phpackages.com/badges/rackbeat-php-xml-to-array/health.svg)](https://phpackages.com/packages/rackbeat-php-xml-to-array)
```

###  Alternatives

[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
