PHPackages                             meng1204/canada-wechat-alipay - 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. meng1204/canada-wechat-alipay

ActiveLibrary[Payment Processing](/categories/payments)

meng1204/canada-wechat-alipay
=============================

Integrate Wechat Pay and Alipay through Alpha Pay Payment Gateway APIs. Allow Canadian merchants to easily accept Wechat Pay and Alipay for their E-commerce Platform.

1.0.1(3w ago)21541MITPHP

Since Jul 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/meng1204/canada-wechat-alipay)[ Packagist](https://packagist.org/packages/meng1204/canada-wechat-alipay)[ RSS](/packages/meng1204-canada-wechat-alipay/feed)WikiDiscussions master Synced yesterday

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

Alpha Pay - Wechat Pay and Alipay
=================================

[](#alpha-pay---wechat-pay-and-alipay)

安装 Install
----------

[](#安装-install)

```
Composer require meng1204/canada-wechat-alipay
```

使用方法 How to use
---------------

[](#使用方法-how-to-use)

```
use AlphaPay;

$alphapay = new AlphaPay([
    'PARTNER_CODE' => '',
    'CREDENTIAL_CODE' => '',
    'description' => '',
    'price' => '',
    'notify_url' => '',
    'operation' => '',
    'currency' => '',
    'order_id' => '',
]);

$alphapay->pay->Jsapi();
$alphapay->pay->Qr();
$alphapay->pay->H5();
$alphapay->pay->refund();

$alphapay->commonApi->orderQuery();
```

More Information on Alpha Pay Page
----------------------------------

[](#more-information-on-alpha-pay-page)

Visit the [Alpha Pay](https://www.alphapay.ca/) Official Website to know more details.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance53

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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 ~2114 days

Total

2

Last Release

21d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae314c93960dbef2e3af91908031deaa456a0107e234f91797cbbb0717f3ac5c?d=identicon)[meng1204](/maintainers/meng1204)

---

Top Contributors

[![meng1204](https://avatars.githubusercontent.com/u/14936452?v=4)](https://github.com/meng1204 "meng1204 (17 commits)")

---

Tags

alipaywechat

### Embed Badge

![Health badge](/badges/meng1204-canada-wechat-alipay/health.svg)

```
[![Health](https://phpackages.com/badges/meng1204-canada-wechat-alipay/health.svg)](https://phpackages.com/packages/meng1204-canada-wechat-alipay)
```

###  Alternatives

[yansongda/pay

可能是我用过的最优雅的 Alipay 和 WeChat 的支付 SDK 扩展包了

5.3k1.2M53](/packages/yansongda-pay)[yansongda/laravel-pay

专注 Alipay/WeChat/Unipay 的 laravel 支付扩展包

1.1k353.2k9](/packages/yansongda-laravel-pay)[yansongda/hyperf-pay

可能是基于 hyperf 的最优雅的支付宝、微信、银联支付 SDK 了

8959.8k1](/packages/yansongda-hyperf-pay)[guanguans/yii-pay

适配于 Yii 的 alipay 和 wechat 的支付扩展包

515.5k](/packages/guanguans-yii-pay)

PHPackages © 2026

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