PHPackages                             phpwxpay/payment - 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. phpwxpay/payment

ActiveLibrary

phpwxpay/payment
================

A tool that encapsulates WeChat's Enterprise payment and sending cash red envelopes

1.0.2(4y ago)2391MITPHPPHP &gt;=5.3

Since Nov 10Pushed 4y agoCompare

[ Source](https://github.com/zhuyl369/phpwxpay)[ Packagist](https://packagist.org/packages/phpwxpay/payment)[ RSS](/packages/phpwxpay-payment/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (3)DependenciesVersions (5)Used By (1)

php微信支付企业付款、发送现金红包封装类，可适用于 微擎(we7)，thinkphp,原生php应用等框架
======================================================

[](#php微信支付企业付款发送现金红包封装类可适用于-微擎we7thinkphp原生php应用等框架)

在做一个微擎项目时发现微擎没有封装好的企业付款到零钱和发送现金红包等方法函数，于是自己动手封装了一个。

Composer安装
----------

[](#composer安装)

安装最新的版本

```
$ composer require phpwxpay/payment
```

```

```

不使用Composer
-----------

[](#不使用composer)

git clone 获取代码到本地

```
$ git clone git@github.com:zhuyl369/phpwxpay.git
```

拷贝文件Phpwxpay.php到项目目录并引入

```
