PHP二维码解码QrReader类|二维码图片转字符串

composer require khanamiryan/qrcode-detector-decoder
// index.php

// 引入composer加载文件
require './vendor/autoload.php';
$path = './uploads/qrcode/wg/6_21_61_4_G.png';
$qrReader = new QrReader($path);
\dump($qrReader->text());

你可能感兴趣的:(PHP二维码解码QrReader类|二维码图片转字符串)