当前位置: 首页 > 工具软件 > PHP QR Code > 使用案例 >

php类库PHP QR Code 二维码

杨鸿畅
2023-12-01
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).

只需这样应用就行了

<?
include "./phpqrcode/phpqrcode.php";
$value=‘ http://www.jinyuanbao.cn’;
$errorCorrectionLevel = 'L';
$matrixPointSize = 4;
QRcode::png($value, false, $errorCorrectionLevel, $matrixPointSize);
exit;
?>
 类似资料: