QR Code Generator for PHP

Ben Scholzen 448ee9929a Switch to older PHPUnit version 8 rokov pred
src edee81c1fd fix the block offset in vertical 8 rokov pred
tests 8f16a007ea Fix unit tests on PHP 7.1 and add PHP 5.6 to test matrix 8 rokov pred
.gitignore 8f16a007ea Fix unit tests on PHP 7.1 and add PHP 5.6 to test matrix 8 rokov pred
.travis.yml faac5ca5a9 Add composer install to .travis.yml 8 rokov pred
LICENSE 3e1c3954f9 Initial commit 12 rokov pred
Module.php 30d2a98b9e Moving Module.php back to where it belongs 11 rokov pred
README.md 5eae94d4d7 Update sample usage 10 rokov pred
autoload_classmap.php 3f3fcf4bb2 Add Renderer\Html. 12 rokov pred
autoload_function.php 3e1c3954f9 Initial commit 12 rokov pred
autoload_register.php 3e1c3954f9 Initial commit 12 rokov pred
composer.json 448ee9929a Switch to older PHPUnit version 8 rokov pred

README.md

QR Code generator

Master: Build Status

Introduction

BaconQrCode is a port of QR code portion of the ZXing library. It currently only features the encoder part, but could later receive the decoder part as well.

As the Reed Solomon codec implementation of the ZXing library performs quite slow in PHP, it was exchanged with the implementation by Phil Karn.

Example usage

$renderer = new \BaconQrCode\Renderer\Image\Png();
$renderer->setHeight(256);
$renderer->setWidth(256);
$writer = new \BaconQrCode\Writer($renderer);
$writer->writeFile('Hello World!', 'qrcode.png');