2017 © Pedro Peláez
 

library wechat

微信SDK

image

keacefull/wechat

微信SDK

  • Tuesday, July 3, 2018
  • by keacefull
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1768 Forks
  • 0 Open issues
  • 100 Versions
  • 0 % Grown

The README.md

<, (*1)

p align="center"> EasyWeChat Logo , (*2)

📦 It is probably the best SDK in the world for developing Wechat App., (*3)

Build Status Latest Stable Version Latest Unstable Version Build Status Scrutinizer Code Quality Code Coverage Total Downloads License Backers on Open Collective Sponsors on Open Collective , (*4)

, (*5)

, (*6)

关注公众号我们一起聊聊代码怎么样?, (*7)

Features, (*8)

Requirement

  1. PHP >= 7.0
  2. Composer
  3. openssl 拓展
  4. fileinfo 拓展(素材管理模块需要用到)

Installation

$ composer require "overtrue/wechat:~4.0" -vvv

Usage

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

<?php

use EasyWeChat\Factory;

$options = [
    'app_id'    => 'wx3cf0f39249eb0exxx',
    'secret'    => 'f1c242f4f28f735d4687abb469072xxx',
    'token'     => 'easywechat',
    'log' => [
        'level' => 'debug',
        'file'  => '/tmp/easywechat.log',
    ],
    // ...
];

$app = Factory::officialAccount($options);

$server = $app->server;
$user = $app->user;

$server->push(function($message) use ($user) {
    $fromUser = $user->get($message['FromUserName']);

    return "{$fromUser->nickname} 您好!欢迎关注 overtrue!";
});

$server->serve()->send();

更多请参考 https://www.easywechat.com/。, (*10)

Documentation

官网 · 教程 · 讨论 · 微信公众平台 · WeChat Official, (*11)

Integration

Laravel 5 拓展包: overtrue/laravel-wechat, (*12)

Contributors

This project exists thanks to all the people who contribute. [Contribute]. , (*13)

License

MIT, (*14)

FOSSA Status, (*15)

The Versions

21/11 2017
23/09 2017
12/09 2017
31/08 2017
20/08 2017

4.0.0-alpha.2

4.0.0.0-alpha2

微信SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

14/08 2017

4.0.0-alpha.1

4.0.0.0-alpha1

微信SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

08/03 2017

2.1.x-dev

2.1.9999999.9999999-dev

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-openssl *

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

05/09 2016

2.1.39

2.1.39.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-openssl *

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

05/09 2016

2.1.41

2.1.41.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-openssl *

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

16/07 2016

2.1.38

2.1.38.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

19/02 2016

3.0.1

3.0.1.0

微信SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

17/02 2016

3.0

3.0.0.0

微信SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar overtrue

sdk weixin wechat weixin-sdk

18/08 2015

2.0.x-dev

2.0.9999999.9999999-dev

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

by Avatar overtrue

sdk weixin wechat weixin-sdk

18/08 2015

2.1.0

2.1.0.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

by Avatar overtrue

sdk weixin wechat weixin-sdk

11/08 2015

2.0.35

2.0.35.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

by Avatar overtrue

sdk weixin wechat weixin-sdk

08/05 2015

2.0.1

2.0.1.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

by Avatar overtrue

sdk weixin wechat weixin-sdk

07/05 2015

2.0.0

2.0.0.0

微信SDK

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-mcrypt *

 

by Avatar overtrue

sdk weixin wechat weixin-sdk