Yii2 of wechat SDK
Based on Yii2 WeChat SDK for service, enterprise, subscription, (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist starzeng/yii2-wechat "*"
or add, (*4)
"starzeng/yii2-wechat": "*"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, simply use it in your code by :, (*6)
php
<?= \starzeng\wechat\AutoloadExample::widget(); ?>
, (*7)