PHPackages                             ouranoshong/go-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. ouranoshong/go-pay

ActiveLibrary[Payment Processing](/categories/payments)

ouranoshong/go-pay
==================

A sdk for go pay

v0.5.0(8y ago)04MITPHP

Since Jun 23Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

go-pay
======

[](#go-pay)

A sdk for go pay (third party)

### Installation

[](#installation)

```
$ composer require ouranohsong/go-pay
```

### Example

[](#example)

```
date_default_timezone_set('Asia/Shanghai');

require __DIR__ . '/vendor/autoload.php';

$request = new \Ouranoshong\GoPay\Request\PayActionRequest();
$response = new \Ouranoshong\GoPay\Response\PayActionResponse();

$config = new \Ouranoshong\GoPay\GoPayConfig();
$client = new \Ouranoshong\GoPay\GoPayClient();

$request->setMerOrderNum('guoguofufu'.time());
$request->setCurrencyType('');
$request->setFeeAmt('');
$request->setTranAmt('');
$request->setTranIP('');
$request->setTranDateTime(date('YmdHis'));
$request->setIsRepeatSubmit('');
$request->setGoodsName('');
$request->setGoodsDetail('');
$request->setBackgroundMerUrl('');

$client->setConfiguration($config);
$client->setHandlerName(Ouranoshong\GoPay\Handler\PayActionHandler::class);
$client->handle($request, $response);

print_r($response->getResult());
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

3242d ago

### Community

Maintainers

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

---

Top Contributors

[![hong675](https://avatars.githubusercontent.com/u/18436295?v=4)](https://github.com/hong675 "hong675 (7 commits)")[![ouranoshong](https://avatars.githubusercontent.com/u/5158627?v=4)](https://github.com/ouranoshong "ouranoshong (1 commits)")

### Embed Badge

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

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[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)[dnetix/redirection

Library to connect with PlacetoPay Checkout service

17123.3k2](/packages/dnetix-redirection)

PHPackages © 2026

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