PHPackages                             hinet/omnipay-shenzhoufu - 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. hinet/omnipay-shenzhoufu

ActiveLibrary[Payment Processing](/categories/payments)

hinet/omnipay-shenzhoufu
========================

shenzhoufu for laravel 5.\*

1.0.2(9y ago)3412MITPHP

Since Dec 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hinet/omnipay-shenzhoufu)[ Packagist](https://packagist.org/packages/hinet/omnipay-shenzhoufu)[ RSS](/packages/hinet-omnipay-shenzhoufu/feed)WikiDiscussions master Synced yesterday

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

omnipay-alipay
==============

[](#omnipay-alipay)

神州付手机充值卡,游戏支付支付平台

安装
==

[](#安装)

```
composer require hinet/omnipay-shenzhoufu
```

使用
==

[](#使用)

```
$gateway = Omnipay::create('Shenzhoufu');
$gateway->setPartnerId(config('payment.shenzhoufu.partner'));
$gateway->setApiKey(config('payment.shenzhoufu.apikey'));
$gateway->setNotifyUrl(config('payment.shenzhoufu.notifyUrl'));
$order = [
     'orderId'      => '201612141621487926',
     'amount'         => 1*100, //=0.01
];
$request  = $gateway->purchase($order);
$response = $request->send();
if($response->isSuccessful()){
     echo '';
}else{
     $response->getMessage();
}
```

异步通知回调
======

[](#异步通知回调)

```
$gateway = Omnipay::create('Shenzhoufu');
$options = [
        'request_params'=> $_REQUEST,
];
$response = $gateway->completePurchase($options)->send();
if ($response->isSuccessful() && $response->getTransactionReference()) {
    //支付成功后操作
    exit($response->getOrderID());
} else {
    //支付失败通知.
    exit('支付失败');
}
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

3484d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85a6bc2552f88eb20f4f5c6633812ba9693a876f16acb38b43497116a688d28a?d=identicon)[hinet](/maintainers/hinet)

---

Top Contributors

[![hiship](https://avatars.githubusercontent.com/u/183052291?v=4)](https://github.com/hiship "hiship (13 commits)")

### Embed Badge

![Health badge](/badges/hinet-omnipay-shenzhoufu/health.svg)

```
[![Health](https://phpackages.com/badges/hinet-omnipay-shenzhoufu/health.svg)](https://phpackages.com/packages/hinet-omnipay-shenzhoufu)
```

###  Alternatives

[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38108.5k17](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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