PHPackages                             timeshow/laravel-pay - 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. timeshow/laravel-pay

ActiveLibrary[Payment Processing](/categories/payments)

timeshow/laravel-pay
====================

payment for laravel

v0.2.0(2y ago)08MITPHP

Since Sep 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/timeshow/laravel-pay)[ Packagist](https://packagist.org/packages/timeshow/laravel-pay)[ RSS](/packages/timeshow-laravel-pay/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

Laravel Pay
===========

[](#laravel-pay)

依赖
--

[](#依赖)

- php &gt;= 8.0
- composer
- laravel &gt;= 9.0

安装
--

[](#安装)

```
composer require yansongda/laravel-pay:~3.5.0
```

### laravel 用户

[](#laravel-用户)

#### 配置文件

[](#配置文件)

```
php artisan vendor:publish --provider="TimeShow\LaravelPay\PayServiceProvider" --tag=laravel-pay
```

使用方法
----

[](#使用方法)

### 支付宝

[](#支付宝)

```
use Pay;

$order = [
    'out_trade_no' => time(),
    'total_amount' => '1',
    'subject' => 'test subject - 测试',
];

return Pay::alipay()->web($order);

// 下面这个方法也可以
// return Pay::web($order);
```

### 微信

[](#微信)

```
use Pay;

$order = [
    'out_trade_no' => time(),
    'body' => 'subject-测试',
    'total_fee'      => '1',
    'openid' => 'onkVf1FjWS5SBIixxxxxxxxx',
];

$result = Pay::wechat()->mp($order);
```

具体使用说明请传送至

License
-------

[](#license)

MIT

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

2

Last Release

1014d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelpayalipaywechatlaravel payunipay

### Embed Badge

![Health badge](/badges/timeshow-laravel-pay/health.svg)

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

###  Alternatives

[yansongda/laravel-pay

专注 Alipay/WeChat/Unipay 的 laravel 支付扩展包

1.2k368.7k12](/packages/yansongda-laravel-pay)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M300](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.5k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)

PHPackages © 2026

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