PHPackages                             ansas/php-onix - 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. ansas/php-onix

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

ansas/php-onix
==============

An ONIX parser library.

0.4.4(7y ago)042MITPHPPHP &gt;=7.1.0

Since Apr 24Pushed 5y agoCompare

[ Source](https://github.com/ansas/php-onix)[ Packagist](https://packagist.org/packages/ansas/php-onix)[ Docs](https://github.com/aragorn-yang/yy-onix-php)[ RSS](/packages/ansas-php-onix/feed)WikiDiscussions master Synced 1w ago

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

yy-onix-php
===========

[](#yy-onix-php)

PHP ONIX parser library, including both stream and simple(non-stream) parsers.

Simple parser is faster, but consumes lots of memory. It is recommended to parse small files.

Stream parser consume much less memory, but consequently much slower than the simple one. It is recommended to parse large files when the memory resource is limited.

Currently, this library only support Onix Book Spec 2.1.

How to use
----------

[](#how-to-use)

Please refer to the tests.

TODO:
-----

[](#todo)

- support ONIX Book Spec 2.1
- \[\] support ONIX Book Spec 3.0

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.3% 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 ~14 days

Recently: every ~33 days

Total

13

Last Release

2781d ago

PHP version history (2 changes)0.1.3PHP &gt;=7.0.0

0.2.2PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/788e5b5da96c5be2176f5d90289b8906cab84cca87097798fb32b5e89f46d687?d=identicon)[dhm80](/maintainers/dhm80)

---

Top Contributors

[![hnlixf](https://avatars.githubusercontent.com/u/56817773?v=4)](https://github.com/hnlixf "hnlixf (123 commits)")[![aragorn-yang](https://avatars.githubusercontent.com/u/6688652?v=4)](https://github.com/aragorn-yang "aragorn-yang (27 commits)")[![AragornYY](https://avatars.githubusercontent.com/u/6688652?v=4)](https://github.com/AragornYY "AragornYY (27 commits)")[![dhm80](https://avatars.githubusercontent.com/u/4153514?v=4)](https://github.com/dhm80 "dhm80 (2 commits)")[![eike-grundke](https://avatars.githubusercontent.com/u/30509642?v=4)](https://github.com/eike-grundke "eike-grundke (1 commits)")

---

Tags

xmlparseronix

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ansas-php-onix/health.svg)

```
[![Health](https://phpackages.com/badges/ansas-php-onix/health.svg)](https://phpackages.com/packages/ansas-php-onix)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[imangazaliev/didom

Simple and fast HTML parser

2.2k2.3M64](/packages/imangazaliev-didom)[orchestra/parser

XML Document Parser for Laravel and PHP

4581.7M5](/packages/orchestra-parser)[laravie/parser

XML Document Parser for PHP

2342.1M8](/packages/laravie-parser)[goetas-webservices/xsd-reader

Read any XML Schema (XSD) programmatically with PHP

624.7M15](/packages/goetas-webservices-xsd-reader)[vipnytt/sitemapparser

XML Sitemap parser class compliant with the Sitemaps.org protocol.

772.2M10](/packages/vipnytt-sitemapparser)

PHPackages © 2026

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