PHPackages                             overlu/mini-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. overlu/mini-pay

ActivePackage[Payment Processing](/categories/payments)

overlu/mini-pay
===============

Mini Payment Package

v2.0.12(2y ago)024MITPHPPHP ^7.4

Since Dec 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/overlu/mini-pay)[ Packagist](https://packagist.org/packages/overlu/mini-pay)[ RSS](/packages/overlu-mini-pay/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (11)Used By (0)

安装
--

[](#安装)

```
$ composer require overlu/mini-pay
```

### 添加 service provider

[](#添加-service-provider)

```
MiniPay\PayServiceProvider::class
```

### 配置文件

[](#配置文件)

```
$ php bin/artisan vendor:publish --provider="MiniPay\PayServiceProvider"
```

使用方法
----

[](#使用方法)

### 支付宝

[](#支付宝)

```
use MiniPay\Facades\Pay;

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

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

### 微信

[](#微信)

```
use Pay;

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

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

License
-------

[](#license)

MIT

> 感谢 **[yansongda/pay](https://github.com/yansongda/pay)** 提供了优秀的支付扩展 具体使用说明请传送至

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Recently: every ~1 days

Total

10

Last Release

1051d ago

Major Versions

v1.1.3 → v2.0.52023-08-12

### Community

Maintainers

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

---

Top Contributors

[![overlu](https://avatars.githubusercontent.com/u/18390489?v=4)](https://github.com/overlu "overlu (17 commits)")

---

Tags

swoolepayalipayminiunipaywechat-pay

### Embed Badge

![Health badge](/badges/overlu-mini-pay/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[yansongda/laravel-pay

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

1.2k369.0k12](/packages/yansongda-laravel-pay)

PHPackages © 2026

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