PHPackages                             ccharz/laravel-epc-qr - 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. ccharz/laravel-epc-qr

ActiveLibrary[Payment Processing](/categories/payments)

ccharz/laravel-epc-qr
=====================

Laravel EPC-QR-Code Generator for sepa payments

v3.1.0(2mo ago)914.7k↓23.4%MITPHPPHP ^8.2CI passing

Since Apr 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ccharz/laravel-epc-qr)[ Packagist](https://packagist.org/packages/ccharz/laravel-epc-qr)[ RSS](/packages/ccharz-laravel-epc-qr/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (10)Versions (11)Used By (0)

Laravel EPC-QR-Code Generator
-----------------------------

[](#laravel-epc-qr-code-generator)

Library for generating epc qr codes for sepa payments. See  for more information.

QR-Code generation is provided by

If you need a more general solution without the dependencies of endroid and laravel have a look at

### Installation

[](#installation)

Require this package in your composer.json and update composer.

```
composer require ccharz/laravel-epc-qr

```

### Usage

[](#usage)

With these methods you can set the sepa payment data, all methods can be chained.

- iban(string $iban)
- bic(string $bic)
- accountOwner(string account\_owner)
- receiver(string $iban, string $bic, string $account\_owner)
- purpose(string $code): 4 Character Purpose Code
- reference(string $reference): Reconciliation reference (Mutually exclusive with text)
- text(string $text): Reconciliation text
- amount(float $amount, string $currency = 'EUR')
- note(string $note): User note

To stream the output directly to the browser use the stream method

```
return EPCQR::amount(150)
    ->receiver('AT000000000000000000', 'ABCDATWW', 'Max Mustermann')
    ->note('test')
    ->purpose('AT12')
    ->text('Test Überweisungstext')
    ->stream();
```

To only get the endroid/qr-code result use the build method

```
$result = EPCQR::amount(150)
    ->receiver('AT000000000000000000', 'ABCDATWW', 'Max Mustermann')
    ->note('test')
    ->purpose('AT12')
    ->text('Test Überweisungstext')
    ->build();

// Generate a data URI to include image data inline (i.e. inside an  tag)
echo $result->getDataUri();
```

You can use the methods `size(int $size)` and `margin(int $margin)` to adapt the qr code to your needs. If you need more customisation you can also get the endroid/qr-code builder by using the prepareBuilder() method:

```
$builder = EPCQR::amount(150)
    ->receiver('AT000000000000000000', 'ABCDATWW', 'Max Mustermann')
    ->note('test')
    ->purpose('AT12')
    ->text('Test Überweisungstext')
    ->prepareBuilder();

$result = $builder
    ->labelText('This is the label')
    ->build();
```

If you want to store the output into a file use the save method

```
return EPCQR::amount(150)
    ->receiver('AT000000000000000000', 'ABCDATWW', 'Max Mustermann')
    ->note('test')
    ->purpose('AT12')
    ->save('qr.png', 'mydisk');
```

### More Information on EPC QR

[](#more-information-on-epc-qr)

-
-

### TODO

[](#todo)

- EPC Data Validation

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

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

Recently: every ~278 days

Total

8

Last Release

62d ago

Major Versions

0.1.0 → v1.0.02022-03-12

v1.1.0 → v2.0.02024-03-06

v2.1.0 → v3.0.02025-02-26

PHP version history (4 changes)v0.0.1PHP ^7.3 || ^8.0

v1.1.0PHP ^7.4 || ^8.0

v2.0.0PHP ^8.0

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab9470e53a3c1c9a6654c0c049eae5eb9901beeeeb8f63f18292e4ad14d068e2?d=identicon)[ccharz](/maintainers/ccharz)

---

Top Contributors

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

---

Tags

qrsepaepc

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ccharz-laravel-epc-qr/health.svg)

```
[![Health](https://phpackages.com/badges/ccharz-laravel-epc-qr/health.svg)](https://phpackages.com/packages/ccharz-laravel-epc-qr)
```

###  Alternatives

[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

172155.4k1](/packages/mollie-laravel-cashier-mollie)[dfridrich/qr-platba

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

47270.8k1](/packages/dfridrich-qr-platba)[rikudou/skqrpayment

QR payment library for Slovak accounts

35796.2k1](/packages/rikudou-skqrpayment)[rikudou/czqrpayment

QR payment library for Czech accounts

29404.4k6](/packages/rikudou-czqrpayment)[rikudou/euqrpayment

QR payment library for European Union according to EPC standard version 2

18322.1k1](/packages/rikudou-euqrpayment)[paypayopa/php-sdk

PHP SDK for PayPay Open Payment API

18279.6k3](/packages/paypayopa-php-sdk)

PHPackages © 2026

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