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

ActiveLibrary[Payment Processing](/categories/payments)

naka1205/alipay-php
===================

Alipay SDK For PHP

v1.7(5y ago)115MITPHPPHP &gt;=5.6

Since Jun 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/naka1205/alipay-php)[ Packagist](https://packagist.org/packages/naka1205/alipay-php)[ RSS](/packages/naka1205-alipay-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (9)Used By (0)

alipay-php
==========

[](#alipay-php)

### 用户授权

[](#用户授权)

```
use Alipay\Client;

$auth_code = $_GET['auth_code'];
$config = [
    'appid'       =>  'app_id',
    'gateway'     =>  'https://openapi.alipay.com/gateway.do',
    'type'        =>  'sign_type',
    'public'      =>  'public_key',
    'private'     =>  'private_key'
];
$aop = new Client($config);
$response = $aop->getToken($auth_code);
var_dump($response);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

8

Last Release

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31daa787ddfaddc2a730ad5ea28e19f1da17287e45251b4292d64c7feee71531?d=identicon)[naka1205](/maintainers/naka1205)

---

Top Contributors

[![naka1205](https://avatars.githubusercontent.com/u/20264902?v=4)](https://github.com/naka1205 "naka1205 (9 commits)")

### Embed Badge

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

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

###  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)
