PHPackages                             alpenedv/bcd - 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. alpenedv/bcd

ActiveLibrary[Payment Processing](/categories/payments)

alpenedv/bcd
============

BCD Payment-QR-Code

0.2.1(5y ago)4172LGPL-3.0-onlyPHPPHP &gt;= 7.1

Since Jul 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AlpenEDV/bcd)[ Packagist](https://packagist.org/packages/alpenedv/bcd)[ Docs](https://github.com/AlpenEDV/bcd)[ RSS](/packages/alpenedv-bcd/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

BCD - Payment-QR-Code
=====================

[](#bcd---payment-qr-code)

This library provides a simple way to create a payment QR-code e.g. for invoices conforming to the [EPC QR-Code standard](https://de.wikipedia.org/wiki/EPC-QR-Code).

Advantages
----------

[](#advantages)

- Provides easy and convenient payment for users, reducing typos
- Easy-to-use, object-oriented library
- High test coverage
- Open-Source (LGPL-3.0)

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

[](#requirements)

- PHP 7.1 or higher
- GD or Imagick extension for creating the QR-Code

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

[](#installation)

The recommended way to install the BCD library is via composer.

```
"require": {
    "alpenedv/bcd": "0.2.*"
}
```

Usage examples
--------------

[](#usage-examples)

```
require_once('vendor/autoload.php');

use Alpenedv\Tools\Bcd\Bill;
use Alpenedv\Tools\Bcd\BillToStringConverter;

$bill = new Bill();
$bill->setVersion(Bill::VERSION_2); // optional, as version 2 is the default
$bill->setReceiverName('Umbrella Corp.');
$bill->setIban('AT932236200123456789');
$bill->setAmount('EUR1337.99');
$bill->setPaymentReference('R2020/1938');
$bill->setReasonForPayment('Handshakomat Über 3000');

$converter = new BillToStringConverter();
$qrText = $converter->convert($bill);
// The $qrText can now be used in any QR-code generation library, e.g. using TCPDFs barcodes.
```

Tests
-----

[](#tests)

The test suite can be run with `vendor/bin/phpunit tests`.

Contributing
------------

[](#contributing)

Contributions to the BCD library are highly welcome. Please conform to the [PSR-12 coding standard](https://www.php-fig.org/psr/psr-12/) and provide tests for your code.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Total

3

Last Release

2118d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6316e9c35db774eda1f74aa8629e0cda915df7eec254f7b90929ae5049ca1fa0?d=identicon)[andaris](/maintainers/andaris)

---

Top Contributors

[![Chris-EduardDunareanu](https://avatars.githubusercontent.com/u/38765738?v=4)](https://github.com/Chris-EduardDunareanu "Chris-EduardDunareanu (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alpenedv-bcd/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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