PHPackages                             lmh/openpaysdk - 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. lmh/openpaysdk

ActiveLibrary[Payment Processing](/categories/payments)

lmh/openpaysdk
==============

0.5.9(3y ago)199PHPPHP &gt;=7.1.0

Since Jan 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lmhfq/openpaysdk)[ Packagist](https://packagist.org/packages/lmh/openpaysdk)[ RSS](/packages/lmh-openpaysdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (20)Used By (0)

openpaysdk
==========

[](#openpaysdk)

```
composer require lmh/openpaysdk

```

```
$client = new Client([
    'proxy' => [
      //  'http' => '0.0.0.0', // Use this proxy with "http"
    ]
]);
$client->appId = '174008574995857408';
$client->appSecret = 'GcnQ7rtAg#O:]-Ea3u6>t16}oQ(Ms\mS';
$client->timeout = 30;

$paymentTradeUnifiedOrderRequest = new PaymentTradeUnifiedOrderRequest();
$paymentTradeUnifiedOrderRequest->externalId = "1698";
$paymentTradeUnifiedOrderRequest->outTradeNo = "" . time();
$paymentTradeUnifiedOrderRequest->buyerId = '16996';
$paymentTradeUnifiedOrderRequest->tradeType = TradeType::WECHAT;
$paymentTradeUnifiedOrderRequest->totalAmount = 100;
$paymentTradeUnifiedOrderRequest->openid = 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o';

$result = $client->execute($paymentTradeUnifiedOrderRequest, new PaymentTradeUnifiedOrderResponse());

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Recently: every ~46 days

Total

19

Last Release

1322d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32f77100f1ad701643a061f0ecbb40b0fb084bf0bb2c88cd73188edb81e0e8e1?d=identicon)[lmh](/maintainers/lmh)

---

Top Contributors

[![lmhfq](https://avatars.githubusercontent.com/u/5369580?v=4)](https://github.com/lmhfq "lmhfq (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lmh-openpaysdk/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

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

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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