PHPackages                             ipasspay/sdk-cn - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ipasspay/sdk-cn

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ipasspay/sdk-cn
===============

ipasspay sdk zh-cn

v1.2.5(2y ago)045OSL-1.1PHPPHP &gt;=5.6.0

Since Jan 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ipasspay/ipasspay-sdk-php-zh)[ Packagist](https://packagist.org/packages/ipasspay/sdk-cn)[ Docs](https://www.ipasspay.com/)[ RSS](/packages/ipasspay-sdk-cn/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (18)Used By (0)

```

要使用时请先将src/IpasspayChannel/config目录下的
IpasspayConfig-dist.php复制为IpasspayConfig.php(cp IpasspayConfig-dist.php IpasspayConfig.php)，并按实际场景配置正确的商户方参数
composer update ipasspay/sdk-cn时，不会改变IpasspayConfig.php文件

使用sdk将只需按照文档创建请求数据，根据需要按Demo里简单调用即可与ipasspay进行通信
使用sdk无需考虑时间戳(timestamp)参数和签名参数(signature)，以及整个签名过程，验签也只需简单调用方法进行判断
使用sdk会将返回数据进行相关处理，可以通过相应方法直接获得数组形式的返回数据
使用sdk在发起请求前会进行参数预判断，减少无效的服务器网络开销，也便于对接开发时发现错误

建议有条件使用sdk包的商户尽量使用sdk包，本sdk包支持php5.6至php8.1

Demo中

directPay.php : 支付网关(直连)
directPayWithoutCard.php : 无信用卡信息支付网关(比如数字货币支付网关)
redirectPay.php : 支付网关(跳转)
ipasspayNotify.php : 异步通知
ipasspayReturn.php : 同步通知

refund.php : 退款接口
cancelRefund.php : 取消退款接口
queryOrder.php : 订单查询接口
queryOrderList.php : 订单列表查询接口
uploadExpress.php : 物流上传接口

中文版api文档地址 : https://www.apihome.dev/ipasspay.biz/zh-cn/

如果要使用Airsecurecard服务，则可以参考Demo中Airsecurecard目录下样例
相应配置文件在src/AirsecurecardChannel/config目录下
中文版api文档地址 : https://www.apihome.dev/airsecurecard.com/zh-cn/

2022-12-26
新增 无信用卡信息支付网关(比如数字货币支付网关) 相关样例和改动
注意IpasspayConfig-dist.php中新增了without_card_pay_url
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~70 days

Total

17

Last Release

1067d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1256037d4e1d25e3b904631a1180d455f71f13b2c1984c1588761a468799bd0c?d=identicon)[faintrose](/maintainers/faintrose)

---

Top Contributors

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

---

Tags

sdkipasspay

### Embed Badge

![Health badge](/badges/ipasspay-sdk-cn/health.svg)

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[ennnnny/tbk

简约优雅的淘宝客SDK

29016.1k1](/packages/ennnnny-tbk)[anilcancakir/laravel-ai-sdk-skills

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

151.1k](/packages/anilcancakir-laravel-ai-sdk-skills)

PHPackages © 2026

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