zi-lucas/wechat

微信

v1.0.0 2018-05-12 10:11 UTC

This package is auto-updated.

Last update: 2024-09-20 18:18:39 UTC


README

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