PHPackages                             yfwz100/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. yfwz100/wechat

ActiveLibrary

yfwz100/wechat
==============

An elegant wechat framework for PHP 5.5 .

v0.3.1(9y ago)1016[3 issues](https://github.com/yfwz100/wechat.php/issues)MITPHPPHP &gt;=5.5.0

Since Oct 23Pushed 9y ago3 watchersCompare

[ Source](https://github.com/yfwz100/wechat.php)[ Packagist](https://packagist.org/packages/yfwz100/wechat)[ RSS](/packages/yfwz100-wechat/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)DependenciesVersions (4)Used By (0)

Wechat.php
==========

[](#wechatphp)

Wechat.php is an effort to create an elegant utility to interact with Server of [Wechat Media Platform](http://mp.weixin.qq.com/ "The home page of WechatMP."), in PHP. Wechat.php is designed to work well with modern PHP environment, including namespaces and composer. The API is strongly influenced by [a fluent package written in Node.js](http://www.weixinjs.org "The wx module for Node.js ."), written in modern PHP syntax. We hope this collection of code could benefit anyone who works with an account of [Wechat Media Platform](http://mp.weixin.qq.com/ "The home page of WechatMP.").

The design of the library strictly follows the design of the Wechat Web API and provides functions/classes to facilitate your development. -- **We do the painful things for you!**

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

[](#installation)

Though 'Wehcat.php' is designed to work with composer, the library is not yet uploaded and is under construction. Please add repository to your `composer.json`:

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://git.oschina.net/zhi/wechat.php.git"
    }
]
```

Then add dependency:

```
"require": {
    "yfwz100/wechat": "dev-master"
}
```

Example
-------

[](#example)

```
