PHPackages                             ontob/qrpayment - 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. ontob/qrpayment

ActiveLibrary[Payment Processing](/categories/payments)

ontob/qrpayment
===============

QR payments code library

v2.0.0(4y ago)05.3kMITPHPPHP ^7.4||^8.0

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ontob/qrpayment)[ Packagist](https://packagist.org/packages/ontob/qrpayment)[ RSS](/packages/ontob-qrpayment/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

### QR payments code library

[](#qr-payments-code-library)

Creates QR code for bank in Czechia, Slovakia, Poland and banks using EPC QR code

### Installation

[](#installation)

Use [Composer](https://getcomposer.org/) to install the library. Also make sure you have enabled and configured the [GD extension](https://www.php.net/manual/en/book.image.php) if you want to generate images. For Slovakia QR codes [xz library ](https://tukaani.org/xz/) is required.

```
composer require ontob/qrpayment
```

### Usage

[](#usage)

```
use Ontob\QrPayment\QrPaymentCZE;

$qrCode = QrPaymentCZE::create('CZ2920100000002500278163')
                ->setAmount(300)
                ->setCurrency('CZK')
                ->setVariableSymbol('123589123');
```

```
use Ontob\QrPayment\QrPaymentSVK;

$qrCode = QrPaymentSVK::create('CZ2920100000002500278163')
                ->setAmount(300)
                ->setCurrency('CZK')
                ->setVariableSymbol('123589123');
                // ->setXZbinaryPath() - optional setting XZ library path if not default
```

```
use Ontob\QrPayment\QrPaymentPOL;

$qrCode = QrPaymentPOL::create('CZ2920100000002500278163')
                ->setAmount(300)
                ->setVariableSymbol('123589123');
                // Currency is not used, it is always PL
```

```
use Ontob\QrPayment\QrPaymentEPC;

$qrCode = QrPaymentEPC::create('CZ2920100000002500278163')
                ->setAmount(300)
                ->setCurrency('CZK')
                ->setVariableSymbol('123589123');
```

**Check each classes for additional fields.**

#### Get image

[](#get-image)

```
// returns Endroid\QrCode\Writer\Result\PngResult
$image = $qrCode->qrImage();

// Get Base64 string
$image->getDataUri();
// Save image to file
$image->saveToFile('qrimage.png');
```

### License

[](#license)

Open-sourced software licensed under the [MIT license](https://github.com/ontob/qrpayment/blob/master/LICENSE.md).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

1502d ago

Major Versions

v1.0.1 → v2.0.02022-05-23

PHP version history (2 changes)v1.0.0PHP ^7.1

v2.0.0PHP ^7.4||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12592d76734f60eb90f0b1bbf0507b9fac98d8b27e165e2432d233e0475553b7?d=identicon)[ontob](/maintainers/ontob)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ontob-qrpayment/health.svg)

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

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k91](/packages/nativephp-mobile)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9067.8k](/packages/n1ebieski-ksef-php-client)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[dfridrich/qr-platba

Generování QR Plateb a QR Faktur v PHP.

47293.7k1](/packages/dfridrich-qr-platba)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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