PHPackages                             hurah/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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. hurah/invoice

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

hurah/invoice
=============

Simple invoice generator based on wkhtmltopdf and twig for Hurah.

v1.0.69(1y ago)01.5k↓73.1%[2 PRs](https://github.com/antonboutkam/hurah-invoice/pulls)MITPHPPHP ^8.3

Since Oct 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/antonboutkam/hurah-invoice)[ Packagist](https://packagist.org/packages/hurah/invoice)[ RSS](/packages/hurah-invoice/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (5)Versions (72)Used By (0)

hurah-invoice
=============

[](#hurah-invoice)

Invoice generation library for Hurah based on [twig](https://circleci.com/gh/antonboutkam/hurah-invoice.svg?style=svg) template engine and [wkhtmltopdf](https://wkhtmltopdf.org/).

### Translations

[](#translations)

Invoices can be translated by passing an array containing the translations to the Environment object. If the translation is missing the default is shown which also serves as the key.

```
$translation = [
    'VAT percentage' => 'BTW percentage'
];
$structure = new Structure();
$structure->setInvoice($yourInvoiceData);
$environment = $structure->getEnvironment();
$environment->setTranslation($translation);

// See tests for full invoice generation example.
```

```
{{ 'VAT percentage'|translate }} "BTW percentage"
{{ 'I am missing'|translate }} becomes "I am missing"

```

[![circleci](https://camo.githubusercontent.com/73172a1dd06f6ac98147cbcf9c1ffa60184982f221e372844194353c8f1c3692/68747470733a2f2f636972636c6563692e636f6d2f67682f616e746f6e626f75746b616d2f68757261682d696e766f6963652e7376673f7374796c653d737667)](https://camo.githubusercontent.com/73172a1dd06f6ac98147cbcf9c1ffa60184982f221e372844194353c8f1c3692/68747470733a2f2f636972636c6563692e636f6d2f67682f616e746f6e626f75746b616d2f68757261682d696e766f6963652e7376673f7374796c653d737667)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98.9% 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 ~4 days

Total

69

Last Release

716d ago

PHP version history (2 changes)v1.0.0-alphaPHP ^7.4

v1.0.63-alphaPHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27406772?v=4)[⚒ Anton Boutkam](/maintainers/antonboutkam)[@antonboutkam](https://github.com/antonboutkam)

---

Top Contributors

[![antonboutkam](https://avatars.githubusercontent.com/u/27406772?v=4)](https://github.com/antonboutkam "antonboutkam (86 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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