PHPackages                             xkstudio/wechat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xkstudio/wechat

ActiveLibrary[API Development](/categories/api)

xkstudio/wechat
===============

微信SDK

3.3.35(6y ago)024MITPHPPHP &gt;=5.5.0CI failing

Since Mar 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xkstudio/wechat)[ Packagist](https://packagist.org/packages/xkstudio/wechat)[ Docs](https://github.com/xkstudio/wechat)[ RSS](/packages/xkstudio-wechat/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (10)Versions (68)Used By (0)

WeChat SDK
==========

[](#wechat-sdk)

Fork from EasyWeChat

Current version: **v3.3.35**

> Support for **PHP 5.5/5.6**

Change Logs
-----------

[](#change-logs)

- [Change Logs](CHANGELOG.md)

Feature
-------

[](#feature)

- 命名不那么乱七八糟；
- 隐藏开发者不需要关注的细节；
- 方法使用更优雅，不必再去研究那些奇怪的的方法名或者类名是做啥用的；
- 自定义缓存方式；
- 符合 [PSR](https://github.com/php-fig/fig-standards) 标准，你可以各种方便的与你的框架集成；
- 高度抽象的消息类，免去各种拼json与xml的痛苦；
- 详细 Debug 日志，一切交互都一目了然；

Requirement
-----------

[](#requirement)

1. PHP &gt;= 5.5.9
2. **[composer](https://getcomposer.org/)**
3. openssl 拓展
4. fileinfo 拓展（素材管理模块需要用到）

> SDK 对所使用的框架并无特别要求

Installation
------------

[](#installation)

```
composer require "xkstudio/wechat:~3.3" -vvv
```

Usage
-----

[](#usage)

基本使用（以服务端为例）:

```
