PHPackages                             yijin/joinpay - 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. yijin/joinpay

ActiveLibrary[Payment Processing](/categories/payments)

yijin/joinpay
=============

汇聚支付插件

1.2(5y ago)013MITPHPPHP &gt;=7.1

Since Aug 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Ulyssesyi/joinpay)[ Packagist](https://packagist.org/packages/yijin/joinpay)[ RSS](/packages/yijin-joinpay/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

汇聚支付接口-php版本
============

[](#汇聚支付接口-php版本)

本项目基于汇聚文档编写, 使用时请遵守汇聚的要求和限制

进度
--

[](#进度)

- 2020.08.21
    支付接口完成,进件接口有时间再说

示例
--

[](#示例)

### 1-支付

[](#1-支付)

```
// 支付接口
$res = (new \joinpay\request\UniPay())->setP1MerchantNo('xxxx')->setP2OrderNo('xxxx')->setP3Amount(1)->exec();
// 订单查询接口
$res = (new \joinpay\request\QueryOrder())->setP1MerchantNo('xxxx')->setP2OrderNo('xxxx')->setP3Amount(1)->exec();
```

返回值是Response实例，里面有三个值， result、msg、data，result为true代表请求成功，false为请求失败。msg为失败时的错误提示。成功时如果有额外参数返回，会在data中返回。支付接口data有payInfo和orderNo两个值，二维码支付时payInfo是图片信息，js支付时是支付参数。查询接口有status和amount两个值，status，-1-失败，0-待支付，1-支付成功，2-支付取消

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

Total

3

Last Release

2137d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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