让你的小程序太阳码飞起来使用!

分享链接:https://packagist.org/packages/james.xue/s...
使用:

user James\SolarCode\SolarCode;

$solar = new SolarCode($token);
$solar->getWxcode('pages/findModule/pages/index/index')->response(); // image()、imagePath()、base64()

A类太阳码:

$solar->getWxcode()

B类太阳码:

$solar->getWxcodeunlimit()

C类太阳码:

$solar->createwxaqrcode()

生成太阳码就这么简单!还可以上传云存储支持oss、cos、public、qiniu、upyun

文档地址:扩展文档

不要轻易放弃。学习成长的路上,我们长路漫漫,只因学无止境 Don't give up easily. On the way of learning and growing up, we have a long way to go, just because there is no end to learning.
讨论数量: 2

怎么就飞起来了,跟easywechat比没啥优势.还有建议写明白,只能laravel使用,或者把里边的方法改成不依赖laravel的类,比如 :Storage

4年前 评论

@justmd5 使用 easywechat 只单独生成太阳码是不是大材小用了,而且又不符合php的S.O.L.I.D,还有你提议的不依赖laravel很好

4年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!