QR Code Generator for PHP

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

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');