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

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

logifire/xml
============

Type safe XML reader using SimpleXMLElement internally

1.2.0(6y ago)124.2k↑21.8%1[1 issues](https://github.com/Logifire/xml/issues)[1 PRs](https://github.com/Logifire/xml/pulls)MITPHPCI passing

Since Dec 5Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

XML
===

[](#xml)

[![Build Status](https://camo.githubusercontent.com/8976d27b16ef4c0532db02196beaa53a8e4cae40f2cee825c55513501bbe7d2c/68747470733a2f2f7472617669732d63692e6f72672f4c6f6769666972652f786d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Logifire/xml)

Example:

```
$xml = hasNode('/p:root'); // true

$reader->getString('/p:root/p:string[@attribute="first"]'); // Hello World

$reader->getInt('/p:root/p:int'); // 100

// Relative path
$collection = $reader->getCollection('/p:root/p:string');
$string_reader = $collection[0];

$string_reader->getName(); // string
$string_reader->getString('@attribute'); // first
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

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

Every ~47 days

Recently: every ~68 days

Total

11

Last Release

2245d ago

Major Versions

0.3.2 → 1.0.02020-02-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16954276?v=4)[Bo Andersen](/maintainers/Logifire)[@Logifire](https://github.com/Logifire)

---

Top Contributors

[![Logifire](https://avatars.githubusercontent.com/u/16954276?v=4)](https://github.com/Logifire "Logifire (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/fork

A lightweight solution for running code concurrently in PHP

1.0k2.6M39](/packages/spatie-fork)

PHPackages © 2026

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