ThinkPHP 5 的微信 SDK thinkphp5-wechat

码农软件 · 软件分类 · 微信/微信小程序 · 2019-03-13 12:44:44

软件介绍

thinkphp5-wechat

微信 SDK for thinkphp5, 基于 overtrue/wechat

安装方法

第一步 使用composer下载SDK

composer require hooklife/thinkphp5-wechat

第二步 发布配置文件到TP目录

项目根目录执行

php think wechat:config

查看application/extra/wechat.php这个目录是否存在,如果不存在手动复制一份这个文件 config.php 到 application/extra 这个位置就行。

使用方法

具体参考手册 手册 TP中使用代码类似

use Hooklife\ThinkphpWechat\Wechat;
Wechat::user_tag()->lists();
Wechat::card()->lists()

本文地址:https://codercto.com/soft/d/1253.html

Learn Python the Hard Way

Learn Python the Hard Way

Zed A. Shaw / Addison-Wesley Professional / 2013-10-11 / USD 39.99

Master Python and become a programmer-even if you never thought you could! This breakthrough book and CD can help practically anyone get started in programming. It's called "The Hard Way," but it's re......一起来看看 《Learn Python the Hard Way》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具