2017 © Pedro Peláez
 

library wechat

A simple PHP client library for weixin

image

handsomegyr/wechat

A simple PHP client library for weixin

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

微信公众平台开发模式通用接口API新版

MIT Build Status Coverage Packagist, (*1)

Requirement

  1. PHP >= 5.5
  2. Composer

Installation

$ composer require "handsomegyr/wechat" -vvv

Usage

基本使用(以服务端为例):, (*2)

<?php
$client = new \Weixin\Client();
$client->setAccessToken($access_token);

echo "<br/>将一条长链接转成短链接接口<br/>";
$long_url = 'http://www.baidu.com/?a=1&b=2&c=3';
$ret = $client->getShortUrlManager()->long2short($long_url);
print_r($ret);

Documentation

License

MIT, (*3)

The Versions

26/07 2018

dev-master

9999999-dev http://github.com/handsomegyr/wechat

A simple PHP client library for weixin

  Sources   Download

MIT

The Requires

 

weixin