PHPackages                             putyy/yun-pay - 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. [API Development](/categories/api)
4. /
5. putyy/yun-pay

ActiveLibrary[API Development](/categories/api)

putyy/yun-pay
=============

云账户综合服务平台 API 调用封装

1.1.5(8mo ago)122.2k5MITPHPPHP ^7.2 || ^8.0

Since Aug 22Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/putyy/yun-pay)[ Packagist](https://packagist.org/packages/putyy/yun-pay)[ Docs](https://github.com/putyy/yun-pay.git)[ RSS](/packages/putyy-yun-pay/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

composer require putyy/yun-pay:dev-master
-----------------------------------------

[](#composer-require-putyyyun-paydev-master)

yun-pay
=======

[](#yun-pay)

云账户综合服务平台(//[www.yunzhanghu.com/](http://www.yunzhanghu.com/)) api调用相关封装

### 本包主要调用方式分为两种

[](#本包主要调用方式分为两种)

> 1.传入参数对象调用服务

```
require_once __DIR__ . '/bootstrap.php';

/**
 * 下单
 * 不同平台不同 data
 * 自行查阅 WGCYunPay\Data\Pay 相关data类
 */
$AliPayData = new \WGCYunPay\Data\Pay\AliPayData();
$AliPayData->order_id   = '2019002156137016397187466';
$AliPayData->real_name  = 'LW放下';
$AliPayData->id_card    = '500781598308210373';
$AliPayData->pay        = '1.00';
$AliPayData->notes      = '这只是一个测试';
$AliPayData->pay_remark = '这只是一个打款备注';
$AliPayData->card_no    = '18225298987';

$GoPay = new \WGCYunPay\Service\PayService($config, $AliPayData);
$res   = $GoPay->query();
var_dump($res);

```

> 2.链式操作调用

```
require_once __DIR__ . '/bootstrap.php';

//var_dump($config);
// 查询订单
$order = new \WGCYunPay\Service\OrderService($config);
$res   = $order
       ->setOrderId('2019002156137016ss3971231341211')
       ->setChannel('支付宝')
       ->query();
var_dump($res);

```

> 具体看tests目录的例子

[个人博客](http://www.putyy.com) 欢迎来访

---

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance60

Regular maintenance activity

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~338 days

Total

7

Last Release

257d ago

PHP version history (4 changes)v1.0PHP ^7.0

1.1.0PHP ^7.2

1.1.1PHP &gt;=7.2

1.1.4PHP ^7.2 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![putyy](https://avatars.githubusercontent.com/u/31536789?v=4)](https://github.com/putyy "putyy (14 commits)")

### Embed Badge

![Health badge](/badges/putyy-yun-pay/health.svg)

```
[![Health](https://phpackages.com/badges/putyy-yun-pay/health.svg)](https://phpackages.com/packages/putyy-yun-pay)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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