PHPackages                             leongrdic/pdf417-hub3 - 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. leongrdic/pdf417-hub3

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

leongrdic/pdf417-hub3
=====================

1.1.0(3y ago)23713MITPHPPHP ^8.1

Since Apr 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/leongrdic/php-pdf417-hub3)[ Packagist](https://packagist.org/packages/leongrdic/pdf417-hub3)[ RSS](/packages/leongrdic-pdf417-hub3/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

php-pdf417-hub3
===============

[](#php-pdf417-hub3)

Small wrapper lib around [php-pdf417](https://github.com/leongrdic/php-pdf417) that helps construct a payment barcode for Croatian banks, based on [HUB3 specification](https://www.hub.hr/hr/format-zapisa-pdf417-2d-bar-koda-prema-hub3-standardu).

Requires PHP 8.1+

Usage
-----

[](#usage)

```
$data = new \Le\PaymentBarcodeGenerator\Data(
    payer: new \Le\PaymentBarcodeGenerator\Party(
        name: 'Marko Markić',
        address: 'Zagrebačka cesta 1',
        city: 'Zagreb',
    ),
    payee: new \Le\PaymentBarcodeGenerator\Party(
        name: 'Tvrtka d.o.o.',
        address: 'Zagrebačka avenija 1',
        city: 'Zagreb',
    ),
    iban: 'HR1234567890123456789',
    currency: 'EUR',
    amount: 999, // 9.99
    model: 'HR00',
    reference: '123-4567',
    code: 'COST',
    description: 'Uplata',
);

$generator = new \Le\PaymentBarcodeGenerator\Generator(
    pdf417: new \Le\PDF417\PDF417(),
    renderer: new \Le\PDF417\Renderer\SvgRenderer([
        'color' => 'black',
        'scale' => 5,
    ]),
);

$generator->render($data);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~6 days

Total

2

Last Release

1130d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82e25ee9c2189d89148b77cb15477330861242577535ff77a73773aba317e369?d=identicon)[leongrdic](/maintainers/leongrdic)

---

Top Contributors

[![leongrdic](https://avatars.githubusercontent.com/u/6260068?v=4)](https://github.com/leongrdic "leongrdic (4 commits)")

---

Tags

barcode-generatorpdf417phpphp8

### Embed Badge

![Health badge](/badges/leongrdic-pdf417-hub3/health.svg)

```
[![Health](https://phpackages.com/badges/leongrdic-pdf417-hub3/health.svg)](https://phpackages.com/packages/leongrdic-pdf417-hub3)
```

###  Alternatives

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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