Downloads
Stars
Version
api.
$ composer require lsshu/wechat
$config = ['appId'=>'','appSecret'=>''] ;
$account = Lsshu\Wechat\Service::account($config);
$config = ['appId'=>'','token'=>'','encodingAesKey'=>''] ;
$message = Lsshu\Wechat\Service::message($config);
$config = ['appId'=>'','appSecret'=>''] ;
$program = Lsshu\Wechat\Service::program($config);
$res = $program->code2Session($code);
$res = $program->createWXAQRCode($path, $width);
$res = $program->getWXACode($path, $width, $auto_color, $line_color, $is_hyaline);
$res = $program->getWXACodeUnlimit($scene, $page, $width, $auto_color, $line_color, $is_hyaline);
You can contribute in one of three ways:
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT