PHPackages                             catpkt/thirdpay-receiver - 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. catpkt/thirdpay-receiver

ActiveLibrary

catpkt/thirdpay-receiver
========================

Required by user applications of catpkt/thirdpay-provider

0.0.7(7y ago)044MITPHPPHP &gt;=7.0.0

Since Jul 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/catpkt/thirdpay-receiver)[ Packagist](https://packagist.org/packages/catpkt/thirdpay-receiver)[ RSS](/packages/catpkt-thirdpay-receiver/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

第三方支付使用者
========

[](#第三方支付使用者)

概述
==

[](#概述)

配合 catpkt/thirdpay-provider 实现通用第三方支付集成。

- catpkt/thirdpay-provider 用于提供统一接口的第三方支付微服务
- catpkt/thirdpay-receiver *用于调用这些微服务*

使用
==

[](#使用)

1. 在类中引入trait `\CatPKT\ThirdPayReceiver\TThirdPayReceiver`。
2. 实现抽象方法 `getEncryptor` 提供加密器。
3. 实现抽象方法 `getApiUri`, 提供所要调用微服务的接口链接。
4. 实现抽象方法 `asyncCallback`, 实现支付成功后的异步回调。
5. 设定路由，将某个目录指向 `handle` 方法，用于接收回调。
6. 调用类中的 `createPay` 方法发起支付。

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

Maturity53

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

Recently: every ~76 days

Total

7

Last Release

2907d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/catpkt-thirdpay-receiver/health.svg)

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

PHPackages © 2026

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