2017 © Pedro Peláez
 

library wechat

微信公众号API.

image

chison/wechat

微信公众号API.

  • Monday, May 8, 2017
  • by Chison
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Chison/Wechat

Total Downloads License, (*1)

代码阶段(2017-5-8):目前处于功能开发中。, (*2)

1、composer.json 文件配置, (*3)

{
    "require": {
        "chison/wechat": "dev-master"
    }
}

2、进入composer.json目录 安装, (*4)

    composer install

使用实例

1、配置文件 /config/config.php, (*5)

return [
    'appid'     =>  'your appid',
    'appsercet' =>  'your appsercet',
    'token'     =>  'your token',
    'encodeKey' =>  'your encodeKey',
    'publicName'=>  'your publicName'
];

2、 设置 /public/index.php, (*6)

use \Chison\Wechat\Engine;

Engine::$config = include '../config/config.php';
Engine::$cache = new Predis\Client('tcp://redis.cis:6379?password=your password');

更多说明, (*7)

The Versions

08/05 2017

dev-master

9999999-dev

微信公众号API.

  Sources   Download

MIT

The Requires

 

by Avatar Chison

wechat 微信公众号api

03/05 2017

dev-1.0.0-dev

dev-1.0.0-dev

微信公众号API.

  Sources   Download

MIT

The Requires

 

by Avatar Chison

wechat 微信公众号api