PHPackages                             baruica/xml - 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. baruica/xml

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

baruica/xml
===========

Simple library providing an easy API for reading XML.

2.0.0(6y ago)05.8kMITPHPPHP ^7.4

Since Aug 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/baruica/xml)[ Packagist](https://packagist.org/packages/baruica/xml)[ Docs](https://github.com/baruica/xml)[ RSS](/packages/baruica-xml/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

baruica/xml
===========

[](#baruicaxml)

Simple library providing an easy API for reading XML.

[![Build Status](https://camo.githubusercontent.com/6b9f8aa0d7860f94f02d002f2f4af8e1c53710e0f3ea1726796466f33acc42d8/68747470733a2f2f7472617669732d63692e6f72672f626172756963612f786d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/baruica/xml)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9687ea4f532bbdf84d2d300acb5d7ac725f4248b7e23bf626119112a270a308c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626172756963612f786d6c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/baruica/xml/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/bbd895ab58dbb7e09b3b68bb8947b7ba3a843cdd780b30d4ca02135285a71357/68747470733a2f2f706f7365722e707567782e6f72672f626172756963612f786d6c2f646f776e6c6f6164732e737667)](https://packagist.org/packages/baruica/xml)

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

[](#installation)

```
composer require baruica/xml
```

Run the tests
-------------

[](#run-the-tests)

```
make tests
```

Code License
------------

[](#code-license)

[LICENSE](https://github.com/baruica/xml/blob/master/LICENSE)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity67

Established project with proven stability

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 ~169 days

Recently: every ~210 days

Total

6

Last Release

2407d ago

Major Versions

1.3.1 → 2.0.02019-11-30

PHP version history (2 changes)1.0.0PHP ^7.0

2.0.0PHP ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/282221?v=4)[Nelson da Costa](/maintainers/baruica)[@baruica](https://github.com/baruica)

---

Tags

libraryphpphpspecxmlxml

### Embed Badge

![Health badge](/badges/baruica-xml/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k269.7M321](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k141.9M929](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k160.2M97](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k92.4M680](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

1.0k13.8M186](/packages/hassankhan-config)[sabre/xml

sabre/xml is an XML library that you may not hate.

55234.6M141](/packages/sabre-xml)

PHPackages © 2026

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