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)25MITPHPPHP &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 yesterday

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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

1634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24b71e05a672691e68e39b40cdea961f9604614fa52ccf5623378c22504af4de?d=identicon)[pudy520](/maintainers/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

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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