PHPackages                             tiime/factur-x - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. tiime/factur-x

ActiveLibrary[File &amp; Storage](/categories/file-storage)

tiime/factur-x
==============

PHP library to manage your Factur-X (PDF invoices files)

0.3.0(10mo ago)9260.1k↓16.8%2[1 PRs](https://github.com/Tiime-Software/factur-x/pulls)MITXSLTPHP &gt;=8.3CI passing

Since Aug 17Pushed 8mo agoCompare

[ Source](https://github.com/Tiime-Software/factur-x)[ Packagist](https://packagist.org/packages/tiime/factur-x)[ RSS](/packages/tiime-factur-x/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (8)Used By (0)

Factur-X PHP Library
====================

[](#factur-x-php-library)

Install with Composer
---------------------

[](#install-with-composer)

```
composer require tiime/factur-x
```

Usage
-----

[](#usage)

### Generate Factur-X

[](#generate-factur-x)

Create a Factur-X compliant PDF document by merging provided PDF content with XML data and optionally adding a logo.

```
use Tiime\FacturX\Writer;

$writer = new Writer();
$facturxContent = $writer->generate(
    pdfContent: $pdfContent,
    xmlContent: $xml,
    addLogo: true
);

file_put_contents('generated_facturx.pdf', $facturxContent);
```

### Extract XML from Factur-X

[](#extract-xml-from-factur-x)

Extract XML data from a Factur-X compliance PDF document.

```
use Tiime\FacturX\Reader;

$extractedXml = (new Reader())->extractXML($writer);
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance57

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.6% 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 ~394 days

Total

3

Last Release

308d ago

PHP version history (2 changes)0.1.0PHP ^8.1

0.2.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/714c4aeb1b4c0d011806746e5f3f2289b9fde4a35568b343337dd63bffd1367f?d=identicon)[lucas.g](/maintainers/lucas.g)

![](https://avatars.githubusercontent.com/u/5444185?v=4)[Flavien Rodrigues](/maintainers/rflavien)[@rflavien](https://github.com/rflavien)

---

Top Contributors

[![Lucas-Gerard](https://avatars.githubusercontent.com/u/22389317?v=4)](https://github.com/Lucas-Gerard "Lucas-Gerard (37 commits)")[![AurelienPillevesse](https://avatars.githubusercontent.com/u/16165438?v=4)](https://github.com/AurelienPillevesse "AurelienPillevesse (15 commits)")[![rflavien](https://avatars.githubusercontent.com/u/5444185?v=4)](https://github.com/rflavien "rflavien (9 commits)")[![qdequippe](https://avatars.githubusercontent.com/u/3193300?v=4)](https://github.com/qdequippe "qdequippe (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![samueld-pdp](https://avatars.githubusercontent.com/u/133663914?v=4)](https://github.com/samueld-pdp "samueld-pdp (2 commits)")

---

Tags

en16931factur-xinvoicephp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tiime-factur-x/health.svg)

```
[![Health](https://phpackages.com/badges/tiime-factur-x/health.svg)](https://phpackages.com/packages/tiime-factur-x)
```

###  Alternatives

[horstoeko/zugferd

A library for creating and reading european electronic invoices

4306.4M37](/packages/horstoeko-zugferd)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[atgp/factur-x

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

154947.6k4](/packages/atgp-factur-x)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[google/cloud

Google Cloud Client Library

1.2k16.9M57](/packages/google-cloud)[google/cloud-storage

Cloud Storage Client for PHP

345102.7M171](/packages/google-cloud-storage)

PHPackages © 2026

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