PHPackages                             redpay/redpay - 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. redpay/redpay

ActiveLibrary[Payment Processing](/categories/payments)

redpay/redpay
=============

wechat pay

v1.0.1(6y ago)08MITPHP

Since Dec 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eno2050/redPay)[ Packagist](https://packagist.org/packages/redpay/redpay)[ RSS](/packages/redpay-redpay/feed)WikiDiscussions master Synced 3w ago

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

redPay
======

[](#redpay)

微信sdk支付

第一步
---

[](#第一步)

 前往github创建一个仓库

> 注意仓库要设置成公用的，之前实验的时候想搞成私有的仓库，然后在把仓库提交到packagist上面的时候，会提示报错，然后回到github改成public，结果就正常了

第二步
---

[](#第二步)

git clone 把代码客隆到本地 然后运行 composer init 初始化composer

第三步
---

[](#第三步)

在生成的composer.json中添加 一下代码

```
	"autoload": {
        "psr-4": {
            "RedPay\\WechatPay\\": "src/WechatPay"
        }
    }

```

注意： -- psr-4冒号前 表示的是命民空间。后面是具体的路径
---------------------------------

[](#注意---psr-4冒号前-表示的是命民空间后面是具体的路径)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2395d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17978711?v=4)[eno2050](/maintainers/eno2050)[@eno2050](https://github.com/eno2050)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/redpay-redpay/health.svg)

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

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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