New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

revolution/laravel-paypay

Simple integration Laravel and PayPay API
16,892 3

Larablocks Analysis

revolution/laravel-paypay works with Laravel 12 and 13 (latest release 2.4.0, Feb 22, 2026).

Laravel 6 to 11 in earlier releases.

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Feb 22, 2026)
  • 142 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Feb 22, 2026.
  • 1 release in the last 12 months.
  • First released: Feb 7, 2021.
  • Monthly downloads: 142.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require revolution/laravel-paypay
Latest Version:2.4.0
PHP:^8.3
Laravel:12 · 13
Older releases:6 – 11
License:MIT
Last Updated:Jul 20, 2026
Links: GitHub  ·  Packagist
Maintainer: revolution

Laravel PayPay

Simple integration Laravel and PayPay OpenPayment API.

https://developer.paypay.ne.jp/

https://github.com/paypay/paypayopa-sdk-php

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

  • PHP >= 8.3
  • Laravel >= 12.0

Installation

composer require revolution/laravel-paypay

Configuration

.env

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

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

use Revolution\PayPay\Facades\PayPay;

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

LICENSE

MIT

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

438,010,529 4,660

Version History

Version Released PHP Laravel License
2.4.0 ^8.3 ^12.0||^13.0 MIT
2.3.0 ^8.2 ^11.0||^12.0 MIT
2.2.3 ^8.1 ^10.0||^11.0 MIT
2.2.2 ^8.1 ^10.0||^11.0 MIT
2.2.1 ^8.1 ^10.0||^11.0 MIT