PHPackages                             radishesflight/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. [Payment Processing](/categories/payments)
4. /
5. radishesflight/pay

ActiveLibrary[Payment Processing](/categories/payments)

radishesflight/pay
==================

富有支付加密和验签

v2.0.5(2w ago)09MITPHPPHP &gt;=7.1.0

Since May 18Pushed 2w agoCompare

[ Source](https://github.com/radishesflight/pay)[ Packagist](https://packagist.org/packages/radishesflight/pay)[ RSS](/packages/radishesflight-pay/feed)WikiDiscussions master Synced 1w ago

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

```
        $pay = new PayMemberFactory();
        $payWay=new FuYouAppPay();
        //设置密钥和配置文件 可以是配置文件路径 或 数组
        //        [
        //            "mchnt_cd" => "",//商户代码
        //            "back_notify_url" => "",//回调地址
        //            "pay_pc_url" => "https://aggpcpay.fuioupay.com/aggpos/order.fuiou",//pc扫码支付地址
        //            "pay_app_url" => "https://aggapp.fuioupay.com/token.fuiou",//app支付地址
        //            "rsa_private_key" => "",//商户私钥
        //            "rsa_public_key" => "",//富友公钥
        //        ];
        $payWay->setConfig(public_path().'fuYou.php');
        //生成订单号
        $orderNumber = create_order_number(102);
        $orderNumber='mhy'.$orderNumber;

        $payData= [
            'order_amt' => 1,//支付金额
            'order_id'=>$orderNumber,
        ];
        //设置支付类
        $pay->setPaymentStrategy($payWay);
        //返回参数app使用官方sdk调用支付。支付方式由app决定。后端只负责生成token加密数据
        $pay->processPayment($payData);

        //富有pc扫码支付
        $pay = new PayMemberFactory();
        $payWay=new FuYouPcPay();
        $payWay->setConfig(public_path().'fuYou.php');
        $orderNumber = create_order_number(102);
        $orderNumber='mhy'.$orderNumber;
        $payData= [
            'order_amt' => 1,
            'order_id'=> $orderNumber,
            'type'=>'WECHAT',//微信 WECHAT 支付宝 ALIPAY
        ];
        $pay->setPaymentStrategy($payWay);
        dd($pay->processPayment($payData));

        //获取回调
        $call=new FuYouCallback();
        //设置配置文件
        $call->setConfig(public_path().'fuYou.php');
        $pay->setPaymentCallback($call);
        $res=$pay->processPaymentCallback();
        dd($res);```

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance96

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55.6% 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 ~10 days

Total

7

Last Release

17d ago

Major Versions

v1.0.0 → v2.0.02026-05-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/371320d6e5771e2585bc1fca6db0ab57f900a310d1be8d8ab6923cc713c29cfd?d=identicon)[M-COFFEE](/maintainers/M-COFFEE)

---

Top Contributors

[![radishesflight](https://avatars.githubusercontent.com/u/125258501?v=4)](https://github.com/radishesflight "radishesflight (15 commits)")[![fly-duxingyu](https://avatars.githubusercontent.com/u/33889909?v=4)](https://github.com/fly-duxingyu "fly-duxingyu (12 commits)")

---

Tags

pay

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

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

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k51](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.7M10](/packages/chargebee-chargebee-php)[shetabit/multipay

PHP Payment Gateway Integration Package

298368.9k4](/packages/shetabit-multipay)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)

PHPackages © 2026

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