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(today)61↑2900%3MITPHPPHP &gt;=8.0

Since Mar 25Pushed today2 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 today

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

41

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc658445844c864a8f57f4a8aa9f71db79bb686fa90f1a59b14c30aea8531a5c?d=identicon)[ahmeti](/maintainers/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.4k887.0M1.6k](/packages/nikic-php-parser)[doctrine/lexer

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

11.2k896.2M100](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k150.2M649](/packages/erusev-parsedown)[league/commonmark

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

2.9k393.7M593](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k234.7M194](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k185.5M58](/packages/sabberworm-php-css-parser)

PHPackages © 2026

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