Download the PHP package icharle/wxtool without Composer
On this page you can find all versions of the php package icharle/wxtool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wxtool
Laravel 微信小程序扩展包
本扩展包包含用户详细信息解密、带参数小程序码生成并保存在本地目录功能。 用户详细信息解密官方也提供多种语言版本SDK(C++、PHP、Node、Python),在本扩展包中仅仅做封装处理。 带参数小程序码生成,官方给出三种接口,在此扩展包中采用 接口B (适用于需要的码数量极多的业务场景,通过该接口生成的小程序码,永久有效,数量暂无限制)。
使用方法
运行以下命令以获取最新版本:
将服务提供者添加到配置文件中的providers
数组中config/app.php
,如下所示:
发布配置文件
此时有一个config/wxtool.php
文件。
配置AppID及AppSecret
在根目录.env
文件中添加如下代码
公开storage访问文件(可选)
若要使用 带参数小程序码生成 功能时必须执行下面命令。生成的小程序码默认保存在storage/app/public/qrcode
文件夹中
快速入门
-
获取带参数小程序码(示例代码)
-
获取用户详细信息(示例代码)
解密返回结果
All versions of wxtool with dependencies
PHP Build Version
Package Version
No informations.
The package icharle/wxtool contains the following files
Loading the files please wait ....