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

ActiveLibrary[Payment Processing](/categories/payments)

pkzhilong/laravel-alipay
========================

this is alipay which is base on alipay sdk

1.0(8y ago)116MITPHP

Since Jul 12Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

laravel基于支付宝官方sdk整合到laravel的支付插件
================================

[](#laravel基于支付宝官方sdk整合到laravel的支付插件)

Installation
------------

[](#installation)

执行如下命令

```
    composer require pkzhilong/laravel-alipay
```

注册服务提供者
-------

[](#注册服务提供者)

```
      \Laravel\AliPay\AliPayServeProvider::class,
```

使用
--

[](#使用)

```
1. 设置对应参数
     $return_url =  isset($this->ownType) ? 'team_alipay_success_redirect' : 'alipay_success_redirect'; //回调地址
     $notify_url =  isset($this->ownType) ? 'team_alipay_notify' : 'alipay_notify'; //异步通知地址
     $this->aliPay->bootstrapAliPay()->buildOrder([
         'total_amount' => $taskStage->cost, //交易额
         'subject' => '大宅世家资金托管', //交易描述
         'body'      => '大宅世家资金托管-1', //交易标题
     ])->pagePay($reutrn_url, $notify_url);

```

> 注意： 以上buildOrder中的参数值必须填写，

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3277d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29677220?v=4)[XingZhiLong](/maintainers/PKzhilong)[@PKzhilong](https://github.com/PKzhilong)

---

Top Contributors

[![haichenglouzhu](https://avatars.githubusercontent.com/u/19406557?v=4)](https://github.com/haichenglouzhu "haichenglouzhu (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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