PHPackages                             matok/pay-by-square-svk - 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. matok/pay-by-square-svk

ActiveLibrary[Payment Processing](/categories/payments)

matok/pay-by-square-svk
=======================

Payment QR Code generator for Slovak banks.

1.0(1y ago)1143MITPHPPHP &gt;=8.2CI passing

Since Apr 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MatokUK/pay-by-square-svk)[ Packagist](https://packagist.org/packages/matok/pay-by-square-svk)[ RSS](/packages/matok-pay-by-square-svk/feed)WikiDiscussions main Synced 1mo ago

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

Payment Generator Library for Slovak Banks
==========================================

[](#payment-generator-library-for-slovak-banks)

Overview
--------

[](#overview)

This PHP library hanle generation of QR Code Payment.

Installation
------------

[](#installation)

You can install the library using Composer:

```
composer require matok/pay-by-square-svk
```

Requirements
------------

[](#requirements)

You need [https://en.wikipedia.org/wiki/XZ\_Utils](https://en.wikipedia.org/wiki/XZ_Utils) in order to generate pyament QR Code. To set this dependecy you have to pass path to this application in constructor.

```
use Matok\PayBySquare\PaymentGenerator\Generator;
...
$generator = new Generator('/usr/bin/xz');
```

#### How to use

[](#how-to-use)

```
use Matok\PayBySquare\Value\DueDate;
use Matok\PayBySquare\Value\Iban;
use Matok\PayBySquare\Value\PriceEur;
use Matok\PayBySquare\Value\Message;
...

$iban = new Iban('SK39 8360 5207 0042 0320 8125');
$price = new PriceEur('2.50');
$variableSymbol = VariableSymbol(123);
$message = new Message('my payment message');

$payment = $generator->generatePayment(
    $iban,
    $price,
    $variableSymbol,
    $message,
    DueDate::today()
);
```

You have several possibilities how to display QR Code:

```
// inline:
echo '';
```

```
// generate in controller:
header('Content-Type: image/png');
echo $payment->toQrCode()->toPng();
```

```
// you can generate QR Code by any library using payment string
showQrCode($payment->toString());
```

License
-------

[](#license)

This library is released under the MIT License.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance47

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

393d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05243a18b98dad3165482ceeed1e8af3b15863af3bdac14ebed3978d3ca18bee?d=identicon)[MatokUK](/maintainers/MatokUK)

---

Top Contributors

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

---

Tags

qrcodecsobfioIBANmbankslsppaybysquare365bankprimabankatartabankatransakcnadanjepicovina

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matok-pay-by-square-svk/health.svg)

```
[![Health](https://phpackages.com/badges/matok-pay-by-square-svk/health.svg)](https://phpackages.com/packages/matok-pay-by-square-svk)
```

###  Alternatives

[piggly/php-pix

Uma biblioteca para preparar e gerar o código Pix do Banco Central do Brasil.

113136.4k1](/packages/piggly-php-pix)[ondrakoupil/csob-eapi-paygate

PHP Client library for easy integration of ČSOB payment gateway

44416.9k3](/packages/ondrakoupil-csob-eapi-paygate)[open-dxp/opendxp

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

7310.3k29](/packages/open-dxp-opendxp)[slevomat/csob-gateway

CSOB payment gateway client

29168.5k1](/packages/slevomat-csob-gateway)[paypayopa/php-sdk

PHP SDK for PayPay Open Payment API

18279.6k3](/packages/paypayopa-php-sdk)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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