PHPackages                             frankperez87/xml2array - 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. frankperez87/xml2array

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

frankperez87/xml2array
======================

 This will convert a Simple XML string to a associative array.

v1.0.0(11y ago)11.2k[1 issues](https://github.com/frankperez87/xml2array/issues)MITPHP

Since Jan 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/frankperez87/xml2array)[ Packagist](https://packagist.org/packages/frankperez87/xml2array)[ RSS](/packages/frankperez87-xml2array/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Easy XML to Array Conversion
============================

[](#easy-xml-to-array-conversion)

This package allows you to easily convert a xml string to a associative array.

### Example Usage

[](#example-usage)

```
 Array
        (
            [0] => Array
                (
                    [loc] => http://www.google.com
                    [changefreq] => monthly
                    [priority] => 1
                )

            [1] => Array
                (
                    [loc] => http://www.yahoo.com
                    [changefreq] => monthly
                    [priority] => 1
                )

            [2] => Array
                (
                    [loc] => http://www.bing.com
                    [changefreq] => monthly
                    [priority] => 1
                )

        )

)
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ccd1396eb069904bbab45926e28a92347d21d23473847436e6799dce933c4da?d=identicon)[frankperez87](/maintainers/frankperez87)

---

Top Contributors

[![frankperez87](https://avatars.githubusercontent.com/u/467730?v=4)](https://github.com/frankperez87 "frankperez87 (2 commits)")

### Embed Badge

![Health badge](/badges/frankperez87-xml2array/health.svg)

```
[![Health](https://phpackages.com/badges/frankperez87-xml2array/health.svg)](https://phpackages.com/packages/frankperez87-xml2array)
```

PHPackages © 2026

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