Home PHP Libraries Other libraries PHP class for QR code reading
PHP class for QR code reading
<?php
include_once('./lib/QrReader.php');
$dir = scandir('qrcodes');
$ignoredFiles = array(
'.',
'..',
'.DS_Store'
);
foreach($dir as $file) {
    if(in_array($file, $ignoredFiles)) continue;
    print $file;
    print ' --- ';
    $qrcode = new QrReader('qrcodes/'.$file);
    print $text = $qrcode->text();
    print "<br/>";
}

This is a PHP class for QR code reading. Friends who need it can download it and use it.

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

PHP implements QR code class with logo PHP implements QR code class with logo

26 Mar 2018

This article mainly introduces you to the php implementation of creating a QR code class, which supports setting the size, adding a LOGO, strokes, rounded corners, transparency, and other processing. Complete code, demonstration examples and detailed parameter descriptions are provided to facilitate everyone's learning and use. Hope it helps everyone.

Code for reading XML files using DOM class in php Code for reading XML files using DOM class in php

25 Jul 2016

Code for reading XML files using DOM class in php

PHP class for reading xml PHP class for reading xml

25 Jul 2016

PHP class for reading xml

PHP QR Code barcode and QR code generation class library PHP QR Code barcode and QR code generation class library

25 Jul 2016

PHP QR Code barcode and QR code generation class library

How to create a QR code class with logo through php How to create a QR code class with logo through php

08 Jun 2018

This article introduces how to create a QR code class in PHP, which supports setting size, adding LOGO, stroke, rounded corners, transparency, and other processing. Complete code, demonstration examples and detailed parameter descriptions are provided to facilitate everyone's learning and use. The functions are as follows: 1. Create a QR code 2. Add the logo to the QR code 3. The logo can be stroked 4. The logo can have rounded corners 5. The logo can have transparency 6. The logo image and output image types support png, jpg, gif format 7. You can set the output picture quality setting parameters...

Summary of methods for generating QR code images in PHP Summary of methods for generating QR code images in PHP

20 Jan 2017

This article summarizes and introduces two methods of generating QR code images in PHP. One is to use Google API and the other is to use the practical phpqrcode class library. Both are very convenient. Friends in need can refer to it.

See all articles