PHPackages                             bibliomundi/onix-parser - 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. bibliomundi/onix-parser

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

bibliomundi/onix-parser
=======================

Parser for Onix &gt;=2.0

6867[1 issues](https://github.com/bibliomundi/Bibliomundi-Onix-Parser/issues)[1 PRs](https://github.com/bibliomundi/Bibliomundi-Onix-Parser/pulls)PHP

Since Feb 6Pushed 4y ago7 watchersCompare

[ Source](https://github.com/bibliomundi/Bibliomundi-Onix-Parser)[ Packagist](https://packagist.org/packages/bibliomundi/onix-parser)[ RSS](/packages/bibliomundi-onix-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Bibliomundi-Onix-Parser
=======================

[](#bibliomundi-onix-parser)

PHP Library to convert XML Onix into PHP Objects.

Requirements
============

[](#requirements)

- XML Onix 2.0 &gt;
- PHP 5.4 &gt;

Install
=======

[](#install)

Simple require the autoload.php file that is inside the src folder. Ex: include"src/autoload.php".

If you user composer simple require magrao/bibliomundi-onix-parse.

Usage
=====

[](#usage)

$parser = new BBMParser\\OnixParser($xmlOnix);

//If you prefer load from file

$parser = new BBMParser\\OnixParser('/var/www/xml\_onix.xml', true);

//Loop for all products

foreach($parser-&gt;getOnix()-&gt;getProducts() as $product);

//Loop for all only available for sell products

foreach($parser-&gt;getOnix()-&gt;getProductsAvailable() as $productAvailable);

Docs
====

[](#docs)

Coming soon...

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3eb853c32ebff72b41326c81043a9a2bde2204093ad6bf53f0480bfae93f18fb?d=identicon)[bibliomundi](/maintainers/bibliomundi)

---

Top Contributors

[![gabriellopesmarques](https://avatars.githubusercontent.com/u/17382762?v=4)](https://github.com/gabriellopesmarques "gabriellopesmarques (2 commits)")[![ventuinha](https://avatars.githubusercontent.com/u/10697425?v=4)](https://github.com/ventuinha "ventuinha (2 commits)")

### Embed Badge

![Health badge](/badges/bibliomundi-onix-parser/health.svg)

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M344](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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