dipper/qrcode

QR code generator/reader

1.0.0 2018-09-27 05:46 UTC

This package is not auto-updated.

Last update: 2025-08-09 13:54:44 UTC


README

This is a PHP library to detect and decode QR-codes.
This is first and only QR code reader that works without extensions.

Requirements

  • PHP >= 5.6
  • GD Library

Installation

The recommended method of installing this library is via Composer.

Run the following command from your project root:

$ composer require dipper/qrcode

Usage

use Dipper\Qrcode\Qrcode;
$text = Qrcode::decode('path/to_image'); //return decoded text from QR Code

use Dipper\Qrcode\QrReader;
$qrcode = new QrReader('path/to_image');
$text = $qrcode->text(); //return decoded text from QR Code