PHPackages                             bullyard/ubl-invoice - 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. bullyard/ubl-invoice

ActiveLibrary[Payment Processing](/categories/payments)

bullyard/ubl-invoice
====================

A modern object-oriented PHP library to create valid EHF 3.0 xml-files

v1.8.3(2y ago)2158MITPHPPHP ^7.0||^8.0

Since Oct 24Pushed 10mo agoCompare

[ Source](https://github.com/bullyard/ubl-invoice)[ Packagist](https://packagist.org/packages/bullyard/ubl-invoice)[ Docs](https://github.com/bullyard/ubl-invoice)[ RSS](/packages/bullyard-ubl-invoice/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (19)Used By (0)

UBL-Invoice Modified to be used as an EHF 3.0 generator
=======================================================

[](#ubl-invoice-modified-to-be-used-as-an-ehf-30-generator)

Rough implemntation to support invoice, credit note and reminder

UBL-Invoice
===========

[](#ubl-invoice)

A PHP Wrapper for creating UBL invoices. This code is a hard fork of the [`cleverit/UBL_invoice`](https://github.com/CleverIT/UBL_invoice) package. Feel free to contribute if you are missing features.

Installation and usage
----------------------

[](#installation-and-usage)

This package requires PHP 8.0 or higher. Installation can be done with [composer](https://www.getcomposer.org).

```
composer require bullyard/ubl-invoice
```

Contributing
------------

[](#contributing)

Feel free to create a pull request for code additions/changes. Please always follow [the PSR-2 coding standard](https://www.php-fig.org/psr/psr-2/). You can use [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) in your editor to ensure this, since a `phpcs.xml` file is included with this project.

Examples &amp; Documentation
----------------------------

[](#examples--documentation)

This repository does not provide any documentation at the moment. For now, you can find a fairly simple example in the unit test files in the `tests` folder.

Unit testing
------------

[](#unit-testing)

This repository does not provide exhaustive unit testing for *all* possiblities, getters &amp; setters that are included in the code. Please feel free to add new unit tests for new features that you write. Unit tests are to be created in the `tests` folder and can be run by running `phpunit` in the repository root.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~109 days

Recently: every ~302 days

Total

17

Last Release

1008d ago

PHP version history (2 changes)v1.0PHP ^7.0

v1.8.1PHP ^7.0||^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5718341?v=4)[bullyard](/maintainers/bullyard)[@bullyard](https://github.com/bullyard)

---

Top Contributors

[![brtdv](https://avatars.githubusercontent.com/u/932365?v=4)](https://github.com/brtdv "brtdv (35 commits)")[![bullyard](https://avatars.githubusercontent.com/u/5718341?v=4)](https://github.com/bullyard "bullyard (11 commits)")[![Stormyy](https://avatars.githubusercontent.com/u/5009558?v=4)](https://github.com/Stormyy "Stormyy (3 commits)")[![japsen](https://avatars.githubusercontent.com/u/4325546?v=4)](https://github.com/japsen "japsen (2 commits)")[![karstennilsen](https://avatars.githubusercontent.com/u/8917480?v=4)](https://github.com/karstennilsen "karstennilsen (2 commits)")[![it-can](https://avatars.githubusercontent.com/u/644288?v=4)](https://github.com/it-can "it-can (1 commits)")[![homer8173](https://avatars.githubusercontent.com/u/8720867?v=4)](https://github.com/homer8173 "homer8173 (1 commits)")[![BBrunekreeft](https://avatars.githubusercontent.com/u/9114578?v=4)](https://github.com/BBrunekreeft "BBrunekreeft (1 commits)")

---

Tags

xmlinvoiceublinvoiceelectronic invoicexml invoiceubl invoicedigital invoiceublefffEHF 3.0

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)[saleh7/php-zatca-xml

An unofficial PHP library for generating ZATCA Fatoora e-invoices. This library facilitates the creation of compliant e-invoices, QR Codes, and certificates, as well as the submission of e-invoices to ZATCA's servers. It provides developers with an easy-to-use, customizable, and robust toolkit to integrate and automate ZATCA e-invoicing processes in PHP applications.

5112.5k](/packages/saleh7-php-zatca-xml)[cleverit/ubl_invoice

A PHP wrapper for UBL invoices

36283.4k](/packages/cleverit-ubl-invoice)[sevaske/php-zatca-xml

An unofficial PHP library for generating ZATCA Fatoora e-invoices. This library facilitates the creation of compliant e-invoices, QR Codes, and certificates, as well as the submission of e-invoices to ZATCA's servers. It provides developers with an easy-to-use, customizable, and robust toolkit to integrate and automate ZATCA e-invoicing processes in PHP applications.

193.3k1](/packages/sevaske-php-zatca-xml)[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

138825.5k3](/packages/atgp-factur-x)[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)
