PHPackages                             richardhughes/xmltojson - 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. richardhughes/xmltojson

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

richardhughes/xmltojson
=======================

0.2(8y ago)04711PHPPHP ^7.1

Since Jan 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/richardhughes/xmltojson)[ Packagist](https://packagist.org/packages/richardhughes/xmltojson)[ RSS](/packages/richardhughes-xmltojson/feed)WikiDiscussions master Synced 2w ago

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

xmltojson
=========

[](#xmltojson)

XML to Array / JSON converter

Install
-------

[](#install)

`composer require richardhughes/xmltojson`

Credit
------

[](#credit)

[Tamlyn XML to JSON](https://github.com/tamlyn/xml2json)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

Every ~3 days

Total

2

Last Release

3080d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4634220?v=4)[Richie Hughes](/maintainers/richardhughes)[@richardhughes](https://github.com/richardhughes)

---

Top Contributors

[![richardhughes](https://avatars.githubusercontent.com/u/4634220?v=4)](https://github.com/richardhughes "richardhughes (10 commits)")

---

Tags

arraycomposercomposer-packageconversionconverterconvertorjsonphpphp71testedxmlxml-parser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/richardhughes-xmltojson/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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