miniphper/wechat

dev-master 2020-04-27 03:50 UTC

This package is auto-updated.

Last update: 2022-09-27 09:32:54 UTC


README

1.导入代码,使用composer
composer required miniphper/wechat:dev-master
2.开始使用
require 'vender/autoload.php';
$wechat = new \miniphper\wechat\Wechat([
    'appId' => '',
    'appSecret' => '',
    'mchId' => '',
    'apiKey' => '',
    'certPem' => '',
    'keyPem' => '',
    'cachePath' => '',
]);
$wechat->getAccessToken();