PHPackages                             ycpfzf/hspay - 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. ycpfzf/hspay

ActiveLibrary[Payment Processing](/categories/payments)

ycpfzf/hspay
============

火速付支付扩展包

v0.0.5(2y ago)010MITPHPPHP &gt;=7.0

Since Mar 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ysfzf/hspay)[ Packagist](https://packagist.org/packages/ycpfzf/hspay)[ RSS](/packages/ycpfzf-hspay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

火速付PHP-SDK
==========

[](#火速付php-sdk)

安装
--

[](#安装)

```
composer require ycpfzf/hspay

```

使用
--

[](#使用)

```
use Ycpfzf\Hspay\Client;

//以下参数由火速付进件时提供
$host='https://pay.xxx.yyy';
$appkey='HS_123456';
$appsecret='xxxyyyzzz';
$privateKey='-----BEGIN PRIVATE KEY-----
 ...
-----END PRIVATE KEY-----';
$hsPublicKey='-----BEGIN PUBLIC KEY-----
 ...
-----END PUBLIC KEY-----';

$client = new Client($host,$appkey,$appsecret,$privateKey,$hsPublicKey);
$resp=$client->pay([
    'orderNo'=>'xxxx',
    'amount'=>0.15,
    'goodsName'=>'测试商品',
    'notifyUrl'=>'http://www.xxyy.com/notify',
    'payWay'=>'MINI_PROGRAM',
    'channel'=>'WECHAT',
    'appId'=>'wx4186a2a7fxxxx',
    'userId'=>'oKFYv5AEybpl5v2uw1lyyyyyy'
]);

print_r($resp);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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

5

Last Release

781d ago

### Community

Maintainers

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

---

Top Contributors

[![ysfzf](https://avatars.githubusercontent.com/u/20126315?v=4)](https://github.com/ysfzf "ysfzf (5 commits)")

---

Tags

yeepay

### Embed Badge

![Health badge](/badges/ycpfzf-hspay/health.svg)

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

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

Coinbase driver for the Omnipay payment processing library

18558.8k1](/packages/omnipay-coinbase)

PHPackages © 2026

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