/yii2-wechat

yii2 extension of wechat api

Primary LanguagePHP

yii2 微信扩展

微信扩展介绍

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist lubaogui/yii2-wechat "*"

or add

"lubaogui/yii2-wechat": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \lubaogui\wechat\AutoloadExample::widget(); ?>```