php类库PHP QR Code 二维码

php类库PHP QR Code 二维码

php类库PHP QR Code 二维码

php类库PHP QR Code
PHP QR Code is open source (LGPL) library for generating QR Code, 
2-dimensional barcode. Based on libqrencode C library, 
provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2).
Implemented purely in PHP, with no external dependencies (except GD2 if needed).

地址:http://phpqrcode.sourceforge.net/
下载:http://sourceforge.net/projects/phpqrcode/


只需这样应用就行了

<?
include "./phpqrcode/phpqrcode.php";
$value=‘http://bbs.lewanchina.com’;
$errorCorrectionLevel = 'L';
$matrixPointSize = 4;
QRcode::png($value, false, $errorCorrectionLevel, $matrixPointSize);
exit;
?>

原文地址:https://www.cnblogs.com/archoncap/p/5169782.html