PHPackages                             chunlei/alipay - 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. chunlei/alipay

ActiveLibrary[Payment Processing](/categories/payments)

chunlei/alipay
==============

alipay

08PHP

Since Apr 18Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

使用示例

```
    $data = [
        'out_trade_no' => '1492002348',
    ];
    $request = [
        'apiMethodName' => 'alipay.trade.query',
        'apiVersion' => "1.0",
        'apiParas' => [
            'biz_content' => json_encode($data, JSON_UNESCAPED_UNICODE),
        ],
    ];
    $c = new Alipay\AopClient("2016122204517457", storage_path('app/public/key/private_key.pem'), storage_path('app/public/key/public_key.pem'));
    $c->gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    $response= $c->execute($request);
    if ($response->alipay_trade_query_response->code == 10000) {
        echo 'success';
    } else {
        echo 'error';
    }

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f985c475b9023142737e2cd99e875d6d55eb3b6e3ac7aea2fabc0e004486609?d=identicon)[chunlei](/maintainers/chunlei)

---

Top Contributors

[![jiansheng7896](https://avatars.githubusercontent.com/u/6219147?v=4)](https://github.com/jiansheng7896 "jiansheng7896 (7 commits)")

### Embed Badge

![Health badge](/badges/chunlei-alipay/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[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)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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