PHPackages                             mirolabs/sax - 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. mirolabs/sax

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

mirolabs/sax
============

api for XML

1.0.1(7y ago)012MITPHP

Since Apr 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mirobrando/sax)[ Packagist](https://packagist.org/packages/mirolabs/sax)[ RSS](/packages/mirolabs-sax/feed)WikiDiscussions master Synced 4w ago

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

\#stream api xml

use example
-----------

[](#use-example)

```
$file = 'file.xml';

$callback = function(\Mirolabs\Sax\Xml\XmlObject $obj) {
    var_dump($obj->findTag('img', true)->getContent());
};

$finder = new Mirolabs\Sax\Finder($callback, 128);
$finder->find($file, 'event');

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

2662d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mirolabs-sax/health.svg)

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

###  Alternatives

[jakubledl/dissect

Lexing and parsing in pure PHP

2234.7M12](/packages/jakubledl-dissect)[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.

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

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

46164.0k6](/packages/jstewmc-rtf)[amaury/skrivmarkup

Interpreter of the Skriv Markup Language. PHP implementation.

272.5k1](/packages/amaury-skrivmarkup)[tcds-io/php-jackson

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

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

PHPackages © 2026

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