PHPackages                             revolution/laravel-paypay - 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. revolution/laravel-paypay

ActiveLibrary[Payment Processing](/categories/payments)

revolution/laravel-paypay
=========================

Simple integration Laravel and PayPay API

2.4.0(4mo ago)316.0k—8.9%[1 PRs](https://github.com/invokable/laravel-paypay/pulls)1MITPHPPHP ^8.3CI passing

Since Feb 7Pushed 3w ago1 watchersCompare

[ Source](https://github.com/invokable/laravel-paypay)[ Packagist](https://packagist.org/packages/revolution/laravel-paypay)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-laravel-paypay/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (4)Versions (18)Used By (1)

Laravel PayPay
==============

[](#laravel-paypay)

Simple integration Laravel and PayPay OpenPayment API.

Overview
--------

[](#overview)

This package provides a Laravel-style interface for the PayPay OpenPayment API SDK, making it easy to integrate PayPay payment processing into your Laravel applications. The package wraps the official PayPay PHP SDK with familiar Laravel patterns including facades, service providers, and dependency injection.

Key features:

- **Laravel-style interface**: Access PayPay controllers through a clean facade pattern
- **Easy testing**: Built-in support for mocking PayPay API calls in your tests
- **Configuration management**: Environment-based configuration following Laravel conventions
- **Service container integration**: Proper dependency injection and service binding

The package allows you to work with PayPay's payment, refund, QR code, user, and wallet operations using Laravel's familiar syntax while maintaining full access to the underlying PayPay SDK functionality.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Laravel &gt;= 12.0

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

[](#installation)

```
composer require revolution/laravel-paypay

```

Configuration
-------------

[](#configuration)

.env

```
PAYPAY_PRODUCTION=false
PAYPAY_API_KEY=
PAYPAY_API_SECRET=
PAYPAY_MERCHANT_ID=
PAYPAY_CURRENCY=JPY

```

Usage
-----

[](#usage)

Magic method returns the corresponding controller class.

```
use Revolution\PayPay\Facades\PayPay;

/* @var PayPay\OpenPaymentAPI\Controller\Code $code */
$code = PayPay::code();

/* @var PayPay\OpenPaymentAPI\Controller\Payment $payment */
$payment = PayPay::payment();

/* @var PayPay\OpenPaymentAPI\Controller\Refund $refund */
$refund = PayPay::refund();
```

```
use Revolution\PayPay\Facades\PayPay;
use PayPay\OpenPaymentAPI\Models\CreateQrCodePayload;

$payload = new CreateQrCodePayload();
// ...

$response = PayPay::code()->createQRCode($payload);

// ...
```

### Testing

[](#testing)

```
use Revolution\PayPay\Facades\PayPay;

PayPay::expects('code->createQRCode')->once()->andReturn([]);
```

LICENSE
-------

[](#license)

MIT

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~122 days

Recently: every ~183 days

Total

16

Last Release

132d ago

Major Versions

1.x-dev → 2.0.02022-01-14

PHP version history (5 changes)1.0.0PHP ^7.3||^8.0

2.0.0PHP ^8.0

2.2.0PHP ^8.1

2.3.0PHP ^8.2

2.4.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![kawax](https://avatars.githubusercontent.com/u/1502086?v=4)](https://github.com/kawax "kawax (41 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (3 commits)")

---

Tags

laravelpaypay

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/revolution-laravel-paypay/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

178204.3k1](/packages/mollie-laravel-cashier-mollie)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3720.4k](/packages/linkxtr-laravel-qrcode)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4851.0k](/packages/sebdesign-laravel-viva-payments)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)

PHPackages © 2026

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