thiagolp90/qr-reader

PHP qr code reader library

v1.0 2025-02-21 13:12 UTC

This package is auto-updated.

Last update: 2025-06-24 13:46:41 UTC


README

How to install

composer require thiagolp90/qr-reader

this package is a fork of zxing/qr-reader to fix a bug when reading file using GD

How to use

include __DIR__.'/vendor/autoload.php';

$qrcode = new \Zxing\QrReader('./qr.png');  //Image path
$text = $qrcode->text(); //Return text 
echo $text;

Requirements

PHP >= 5.3
GD Library