hasyan/wechat

0.1.0 2020-09-06 07:55 UTC

This package is auto-updated.

Last update: 2022-11-06 14:36:28 UTC


README

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