Short Payment Descriptor (SPayD) with QR output

It connects shoptet/spayd-php and endroid/qr-code to one unit.

Example

<img src="<?=

    PetrKnap\Php\SpaydQr\SpaydQr::create(
        'CZ7801000000000000000123',
        Money\Money::CZK(79950)
    )->getDataUri();

?>" />

How to install

Run composer require petrknap/php-spaydqr or merge this JSON code with your project composer.json file manually and run composer install. Instead of dev-master you can use one of released versions.

{
    "require": {
        "petrknap/php-spaydqr": "dev-master"
    }
}

Or manually clone this repository via git clone https://github.com/petrknap/php-spaydqr.git or download this repository as ZIP and extract files into your project.


2016 - Petr Knap It's hosted on GitHub and powered by Jekyll.