dedemao/weixinPay
微信支付单文件版。一个PHP文件搞定微信支付系列。包括原生支付(扫码支付),H5支付,公众号支付,现金红包、企业付款到零钱等。新增V3版。 observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 36
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3211
- days_rel: n/a
- days_push: 384
- n_releases_24m: 0
Adoption not part of the score
1269 stars · 608 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-file PHP integration for WeChat Pay covering native QR payments, H5 payments, JSAPI (official account) payments, cash red packets, transfers, and refunds, with a V3 API version. Each payment method is a standalone ~200-line file with no external dependencies, requiring only PHP with CURL and SSL enabled.
Use cases
- accept WeChat QR code payments on a PHP site
- integrate WeChat H5 mobile payments
- add WeChat JSAPI payments inside the official account browser
- send cash red packets to users via WeChat Pay
- process WeChat Pay refunds and async payment notifications
- quickly prototype WeChat Pay without complex SDK setup
When to choose
- you need a minimal, dependency-free WeChat Pay integration in PHP
- you only need one or two specific WeChat Pay methods
- you want readable example code to learn the WeChat Pay API flow
When to avoid
- you need a full-featured, maintained payment SDK with framework integration
- your stack is not PHP
- you require comprehensive test coverage and long-term vendor support
Facets
library · maturity active
sdk http-client developer-tools fintech web-development e-commerce apis php cross-platform wechat-pay payment-integration single-file php scan-pay h5-pay red-packet refund web-server
2 sources
- readme: https://github.com/dedemao/weixinPay · fetched 2026-08-28 · 27dfe3aeaca1
- homepage: https://www.dedemao.com/wx/demo.html · fetched 2026-08-29 · c688244463ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dedemao/weixinPay | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="dedemao/weixinPay")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem