PHPackages                             code-lives/paypal - 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. code-lives/paypal

ActiveLibrary[Payment Processing](/categories/payments)

code-lives/paypal
=================

Alipay和WeChat的支付、退款、支付查询SDK

0137PHP

Since Jun 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/code-lives/paypal)[ Packagist](https://packagist.org/packages/code-lives/paypal)[ RSS](/packages/code-lives-paypal/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Alipay和WeChat的支付、退款、支付查询SDK
---------------------------

[](#alipay和wechat的支付退款支付查询sdk)

安装
--

[](#安装)

```
composer require wxalipay/paypal
```

支持的支付、查询、退款方法
-------------

[](#支持的支付查询退款方法)

### 1、支付宝

[](#1支付宝)

- 电脑支付
- 手机网站支付
- APP支付
- 查询支付结果
- 支付宝单笔退款查询
- 支付宝单笔退款
- 查询对账单下载地址
- 异步通知处理

### 2、微信

[](#2微信)

- 手机网站支付
- APP支付
- 查询支付结果
- 微信单笔退款查询
- 微信单笔退款
- 查询对账单下载地址
- 异步通知处理

使用方法
----

[](#使用方法)

将test/Demo.php放在框架controller内，将PaymentModel.php放在框架model内，并更改命名空间和引用路径

- 具体使用方法见test/Demo.php

```

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/66c8ab94602f8fde6cbb339ec8b9b0dbd178b1aeab8973d957e3903d14e2b7be?d=identicon)[code-lives](/maintainers/code-lives)

---

Top Contributors

[![code-lives](https://avatars.githubusercontent.com/u/79346591?v=4)](https://github.com/code-lives "code-lives (8 commits)")

### Embed Badge

![Health badge](/badges/code-lives-paypal/health.svg)

```
[![Health](https://phpackages.com/badges/code-lives-paypal/health.svg)](https://phpackages.com/packages/code-lives-paypal)
```

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