PHPackages                             vvv/weixin-pay - 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. [Payment Processing](/categories/payments)
4. /
5. vvv/weixin-pay

Active1[Payment Processing](/categories/payments)

vvv/weixin-pay
==============

weixinPay

v1.1(4y ago)15MITPHPPHP &gt;=7.0

Since Nov 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pudy520/wxpay)[ Packagist](https://packagist.org/packages/vvv/weixin-pay)[ RSS](/packages/vvv-weixin-pay/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

微信App支付

运行环境
----

[](#运行环境)

- php &gt;= 7.0
- composer

安装
--

[](#安装)

```
$ composer require vvv/weixin-pay
```

使用
--

[](#使用)

```
  $wexin = new  WxPay($appid, $mch_id, $api_key);
   $params = [
              'total_fee' => 1, //单位分
              'out_trade_no' =>  time(),
              'body' => 'subject-测试',
              'notify_url' => '回调地址',
          ];
  return   $wexin->wxpayandroid($params);

  //异步回调

    return   $wexin->notify();

```

License
-------

[](#license)

MIT

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1686d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50064997?v=4)[眷恋着你的温柔](/maintainers/pudy520)[@pudy520](https://github.com/pudy520)

---

Top Contributors

[![pudy520](https://avatars.githubusercontent.com/u/50064997?v=4)](https://github.com/pudy520 "pudy520 (3 commits)")

### Embed Badge

![Health badge](/badges/vvv-weixin-pay/health.svg)

```
[![Health](https://phpackages.com/badges/vvv-weixin-pay/health.svg)](https://phpackages.com/packages/vvv-weixin-pay)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.1k](/packages/msilabs-bkash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
