使用phpqrcode生成二维码 – 简书

来源: 使用phpqrcode生成二维码 - 简书 在项目中使用的到了显示二维码,网上搜了一下php主要使用phpqrcode实现。 $data = \'www.baidu.com\'; $level = \'L\';// 纠错级别:L、M、Q、H $size = 6;// 点的大小:1到10,用于手机端4就可以了 include EXTEND_PATH.\'org/phpqrcode/phpqrcode.