laravel 二维码生成(simplesoftwareio/simple-qrcode)

laravel 二维码生成(simplesoftwareio/simple-qrcode

composer require "simplesoftwareio/simple-qrcode"
使用:

use SimpleSoftwareIO\QrCode\Facades\QrCode;//引入

QrCode::format('png')->size(195)->margin(1)->merge('图标地址', .13)->generate('二维码内容','保存图片路径不选择直接输出');

点击查看官方文档

[gitwidget type='github' url='SimpleSoftwareIO/simple-qrcode']

非特殊说明,本博所有文章均为博主原创。

备注:相关侵权、举报、投诉及建议等,请联系站长

添加新评论

昵称
邮箱
网站