PHPackages                             horstoeko/ubl - 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. [Payment Processing](/categories/payments)
4. /
5. horstoeko/ubl

ActivePackage[Payment Processing](/categories/payments)

horstoeko/ubl
=============

A library for creating and reading european electronic invoices

v1.0.2(5y ago)42543MITPHPPHP ^7

Since Dec 13Pushed 1y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (17)Versions (4)Used By (0)

UBL
===

[](#ubl)

[![Latest Stable Version](https://camo.githubusercontent.com/faebc3487a59806fa600faaae75d06e035ea5a84391bf889f1af91dd6a1eaae3/68747470733a2f2f706f7365722e707567782e6f72672f686f7273746f656b6f2f75626c2f762f737461626c652e706e67)](https://packagist.org/packages/horstoeko/ubl) [![Total Downloads](https://camo.githubusercontent.com/91a31d54e6698f31ed4ad261ebf3643e4b09bb3848724699bbbd03668f730484/68747470733a2f2f706f7365722e707567782e6f72672f686f7273746f656b6f2f75626c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/horstoeko/ubl) [![Latest Unstable Version](https://camo.githubusercontent.com/6c2089a98af3f424fa0365fbe2464695468b45a2ed460b51f58a5ec854631d40/68747470733a2f2f706f7365722e707567782e6f72672f686f7273746f656b6f2f75626c2f762f756e737461626c652e706e67)](https://packagist.org/packages/horstoeko/ubl) [![License](https://camo.githubusercontent.com/4d1c9fe509ab1f0fb9efdf22a6d65b4b269447d45d46c0927ecb0bc8df8c2e3f/68747470733a2f2f706f7365722e707567782e6f72672f686f7273746f656b6f2f75626c2f6c6963656e73652e706e67)](https://packagist.org/packages/horstoeko/ubl) [![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/horstoeko/ubl)

A simple UBL Library

With `horstoeko/ubl` you can read and write xml files containing electronic invoice data in the UBL format.

This package makes use of [JMS Serializer](http://jmsyst.com/libs/serializer) and [Xsd2Php](https://github.com/goetas-webservices/xsd2php).

Installation
------------

[](#installation)

There is one recommended way to install `horstoeko/ubl` via [Composer](https://getcomposer.org/):

- adding the dependency to your `composer.json` file:

```
  "require": {
      ..
      "horstoeko/ubl":"^0",
      ..
  },
```

Usage
-----

[](#usage)

For detailed eplanation you may have a look in the `examples` and the `doc` folder of this package.

Note
----

[](#note)

The code in this project is provided under the [MIT](https://opensource.org/licenses/MIT) license.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~32 days

Total

3

Last Release

1913d ago

Major Versions

v0.0.1 → v1.0.12020-12-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/24de09032b9a378d782bb7eac3f60914f64967e5a68d51527439dcf7c51711ba?d=identicon)[horstoeko](/maintainers/horstoeko)

---

Top Contributors

[![horstoeko](https://avatars.githubusercontent.com/u/2326713?v=4)](https://github.com/horstoeko "horstoeko (3 commits)")[![BernhardK91](https://avatars.githubusercontent.com/u/5526334?v=4)](https://github.com/BernhardK91 "BernhardK91 (1 commits)")

---

Tags

electronic-invoicingen16931phpphp7php8ubl-invoicexrechnunginvoiceelectronicxrechnungubl

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[horstoeko/zugferd

A library for creating and reading european electronic invoices

4044.3M18](/packages/horstoeko-zugferd)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[horstoeko/zugferdublbridge

Convert Factur-X/ZUGFeRD (CII-Syntax) to PEPPOL (UBL-Syntax) and visa versa

16135.6k5](/packages/horstoeko-zugferdublbridge)[horstoeko/zugferd-laravel

A library for Laravel-Framework for creating and reading european electronic invoices

3693.6k2](/packages/horstoeko-zugferd-laravel)[num-num/ubl-invoice

A modern object-oriented PHP library to create and read valid UBL and EN 16931/Peppol BIS 3.0 files

135820.5k](/packages/num-num-ubl-invoice)[josemmo/einvoicing

Library for reading and creating European-compliant electronic invoices (EN 16931)

173279.6k2](/packages/josemmo-einvoicing)

PHPackages © 2026

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