PHP code example of zzstudio / think-wechat
1. Go to this page and download the library: Download zzstudio/think-wechat library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zzstudio / think-wechat example snippets
use think\Wechat;
// 公众号
$app = Wechat::officialAccount();
// 小程序
$app = Wechat::miniProgram();
// 开放平台
$app = Wechat::openPlatform();
// 企业微信
$app = Wechat::weWork();
// 微信支付
$app = Wechat::payment();
bash
php think wechat:config