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

ActiveLibrary[Payment Processing](/categories/payments)

qedv/bcd
========

BCD Payment-QR-Code

0.3.0(1y ago)01LGPL-3.0-onlyPHPPHP &gt;= 7.1

Since Jul 16Pushed 1y agoCompare

[ Source](https://github.com/raum4-tirol/bcd)[ Packagist](https://packagist.org/packages/qedv/bcd)[ Docs](https://github.com/raum4-tirol/bcd)[ RSS](/packages/qedv-bcd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)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": {
    "qedv/bcd": "0.2.*"
}
```

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

[](#usage-examples)

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

use Qedv\Tools\Bcd\Bill;
use Qedv\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

26

—

LowBetter than 43% of packages

Maintenance45

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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 ~569 days

Total

4

Last Release

425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d725f20211410017411f71bed3203a8558aa30aadd547edb48946099f41e144?d=identicon)[qedv](/maintainers/qedv)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/qedv-bcd/health.svg)](https://phpackages.com/packages/qedv-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)
