PHPackages                             ifeiwu/7pay-php - 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. ifeiwu/7pay-php

ActiveLibrary[Payment Processing](/categories/payments)

ifeiwu/7pay-php
===============

7Pay PHP SDK

v1.0.2(2y ago)417MITPHPPHP &gt;=7.2.5

Since Jan 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ifeiwu/7pay-php)[ Packagist](https://packagist.org/packages/ifeiwu/7pay-php)[ Docs](https://github.com/ifeiwu/7pay-php)[ RSS](/packages/ifeiwu-7pay-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Z支付
===

[](#z支付)

[zPay](https://z-pay.cn/)（zPay PHP SDK）是为个人而打造，安全，正规，低门槛的支付能力服务。

申请流程
----

[](#申请流程)

##### [注册zpay](https://z-pay.cn/reg.php) -&gt; [支付渠道](https://z-pay.cn/member/channel.php)

[](#注册zpay---支付渠道)

快速安装
----

[](#快速安装)

```
composer require ifeiwu/7pay-php

```

开始使用
----

[](#开始使用)

```
require_once 'vendor/autoload.php';

$client = new Pagepan\SevenPayClient(PID, PKEY, NOTIFY_URL, RETURN_URL);
```

### 支付宝

[](#支付宝)

###### 适用于网页端或扫码支付

[](#适用于网页端或扫码支付)

```
// 完整的例子：example/alipay.php

$url = $client->alipay('0.01', '201911914837526544602', '商品名称', '商品描述');

Header("Location: $url");
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

3

Last Release

854d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ifeiwu-7pay-php/health.svg)

```
[![Health](https://phpackages.com/badges/ifeiwu-7pay-php/health.svg)](https://phpackages.com/packages/ifeiwu-7pay-php)
```

###  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)
