thinkphp5 wechat
正式发布版
New features and a more complete manual are being prepared recently.
I need someone to provide me with a public account for debugging.
I hope friends who have idle accounts can provide one, thank you.
WeChat SDK for thinkphp5, based on overtrue/wechat
composer require hooklife/thinkphp5-wechat
Project root directory execution
php think wechat:config
Check whether the directory application/extra/wechat.php exists. If it does not exist, manually copy the file config.php to the location application/extra and it will be OK.
Specific reference manual. The code used in manual TP is similar.
use Hooklife ThinkphpWechat Wechat ;
Wechat:: user_tag ()-> lists ();
Wechat:: card ()-> lists ()
If you don’t understand anything, you can comment below. Everyone is also welcome to submit issues and PRs on github