PHPackages                             loticket/globepay - 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. loticket/globepay

ActiveLibrary[Payment Processing](/categories/payments)

loticket/globepay
=================

pay on line app

1.0.3(4y ago)07Apache-2.0PHPPHP &gt;=7.3

Since May 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/loticket/globepay)[ Packagist](https://packagist.org/packages/loticket/globepay)[ RSS](/packages/loticket-globepay/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

globepay支付 暂时只支持APP支付 支付宝和微信
============================

[](#globepay支付-暂时只支持app支付-支付宝和微信)

\#调用示例 - 发起支付

```
 GlobePayConfig::Init("PINE", "xOjMTaG0Tk7fqNYjsNqDKXtJvE9MFCqC");
        $input = new GlobePayAppOrder();
        $orderId = date("YmdHis");
        echo $orderId;
        $input->setOrderId($orderId);
        $input->setDescription("test");
        $input->setPrice("1");
        $input->setCurrency("GBP");
        $input->setNotifyUrl("http://b2cplusduokai.cn/platform/shop/lists");
        $input->setOperator("123456");
        $input->setChannel("Alipay");
        $result = GlobePay::appApiOrder($input);
        print_r($result);
```

\#调用示例 - 查询订单

```
        $orderId = "202205270955091";
        GlobePayConfig::Init("PINE", "xOjMTaG0Tk7fqNYjsNqDKXtJvE9MFCqC");
        $input = new GlobePayOrderQuery();
        $input->setOrderId($orderId);
        $result = GlobePay::orderQuery($input);
        print_r($result);
```

\#调用示例 - 订单退款

```
       $orderId = "202205270955091";
        GlobePayConfig::Init("PINE", "xOjMTaG0Tk7fqNYjsNqDKXtJvE9MFCqC");
        $input = new GlobePayApplyRefund();
        $input->setOrderId($orderId);
        $refundId = date("YmdHis");
        $input->setRefundId($refundId);
        $input->setFee(1);
        $result = GlobePay::orderRefund($input);
        print_r($result);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

3

Last Release

1490d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.4

1.0.2PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14789820?v=4)[蚂蚱双眼皮](/maintainers/shachao888)[@shachao888](https://github.com/shachao888)

---

Top Contributors

[![lihanspace](https://avatars.githubusercontent.com/u/60546798?v=4)](https://github.com/lihanspace "lihanspace (7 commits)")[![shachao888](https://avatars.githubusercontent.com/u/14789820?v=4)](https://github.com/shachao888 "shachao888 (1 commits)")

### Embed Badge

![Health badge](/badges/loticket-globepay/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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