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 today

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 27% 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

1269d 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

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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