mikica/zf2-qrcode-bitcoin

Create bitcoin QR code - Zend 2 form helper

1.01 2015-11-06 14:13 UTC

This package is auto-updated.

Last update: 2024-10-27 04:26:54 UTC


README

Simple library for generating QR code.

Install

composer require mikica/zf2-qrcode-bitcoin

You need to register new module. Add in file config/application.config.php:

'modules' => array(
    '...',
    'QrCodeBitcoin'
),

The module is ready to use.

Using in View

//width and height are optional.
echo $this->btc_qrcode($address, $amount, $width, $height);
echo $this->btc_qrcode("1J19TLLqu8DH2cv3ze7g1xZNwyyXWyGLKc","1.32");