PHPackages                             ahmeti/ubl-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. ahmeti/ubl-parser

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

ahmeti/ubl-parser
=================

UBL (Universal Business Language) Parser for PHP

1.1(3mo ago)62↓90%3MITPHPPHP &gt;=8.0

Since Mar 25Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/ahmeti/ubl-parser-php)[ Packagist](https://packagist.org/packages/ahmeti/ubl-parser)[ Docs](https://github.com/ahmeti/ubl-parser-php)[ RSS](/packages/ahmeti-ubl-parser/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

UBL Parser Php
==============

[](#ubl-parser-php)

### Installation

[](#installation)

You can install the package via composer:

```
composer require ahmeti/ubl-parser
```

### Usage

[](#usage)

```
require __DIR__.'/vendor/autoload.php';

$xmlString = file_get_contents('Path of Invoice UBL (XML) File');

$result = (new UblParser)->set($xmlString)->get();

print_r($result);
```

### Sample

[](#sample)

[![ubl parser php](https://github.com/ahmeti/ubl-parser-php/raw/master/parser_result.png?raw=true)](https://github.com/ahmeti/ubl-parser-php/blob/master/parser_result.png?raw=true)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance82

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

Total

2

Last Release

90d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5817450?v=4)[Ahmet Imamoglu](/maintainers/ahmeti)[@ahmeti](https://github.com/ahmeti)

---

Top Contributors

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

---

Tags

languagebusinessparserubluniversal

### Embed Badge

![Health badge](/badges/ahmeti-ubl-parser/health.svg)

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

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k936.5M2.3k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k942.7M149](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k155.2M839](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

3.0k426.1M936](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k260.4M292](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k204.2M72](/packages/sabberworm-php-css-parser)

PHPackages © 2026

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