PHPackages                             nusagates/larapay - 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. nusagates/larapay

ActiveLibrary[Payment Processing](/categories/payments)

nusagates/larapay
=================

Laravel helper for iPaymu integration

v0.0.2(1y ago)221MITPHPPHP &gt;=8.0.0

Since Jun 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nusagates/larapay)[ Packagist](https://packagist.org/packages/nusagates/larapay)[ RSS](/packages/nusagates-larapay/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)DependenciesVersions (5)Used By (0)

The Payment Gateway Integration For Laravel
===========================================

[](#the-payment-gateway-integration-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/62cabcbbdde63e3f32f4331cf3fb7c480b9532a29fdab34f7cf2cf5007960a8e/687474703a2f2f706f7365722e707567782e6f72672f6e75736167617465732f6c617261706179)](https://packagist.org/packages/nusagates/larapay) [![Total Downloads](https://camo.githubusercontent.com/3316f6c2bae51c51417b934c1b16e18109002e6c84998bcf46fdee8841022f8b/687474703a2f2f706f7365722e707567782e6f72672f6e75736167617465732f6c6172617061792f646f776e6c6f6164733f)](https://packagist.org/packages/nusagates/larapay) [![Latest Unstable Version](https://camo.githubusercontent.com/33d524ba104ab385c8ea833a2c0ccc203c4fa97d412aa0773e9f5179cb67f756/687474703a2f2f706f7365722e707567782e6f72672f6e75736167617465732f6c6172617061792f762f756e737461626c65)](https://packagist.org/packages/nusagates/larapay) [![License](https://camo.githubusercontent.com/3faae0279668d699b390e402c557e45a47c3947631d0478e1c8119b5c9b62469/687474703a2f2f706f7365722e707567782e6f72672f6e75736167617465732f6c6172617061792f6c6963656e7365)](https://packagist.org/packages/nusagates/larapay) [![PHP Version Require](https://camo.githubusercontent.com/a38ec56383d1a5d36e8ef2d9744ae025da4c2cb4e8a8defd0b69e6dbc86c9ab8/687474703a2f2f706f7365722e707567782e6f72672f6e75736167617465732f6c6172617061792f726571756972652f706870)](https://packagist.org/packages/nusagates/larapay)

Laravel package for easy integration with payment gateways. Developed using the Laravel 11 environment.

> WARNING This package is still in development and may contain bugs. Please use it at your own risk.

Api Payment Gateway Used
========================

[](#api-payment-gateway-used)

- [iPaymu](https://my.ipaymu.com/register/ref/budairicontact)

Installation
============

[](#installation)

The best way to use this package is using [composer](https://getcomposer.org/)

```
composer require nusagates/larapay=dev-master

```

Then copy config file from vendor to your project config with simple run command bellow:

```
php artisan vendor:publish --tag=larapay-config
```

### Requirement

[](#requirement)

Create an account on [iPaymu](https://my.ipaymu.com/register/ref/budairicontact) and then get va Number and API Key from dashboard.

### Config

[](#config)

From your project at `config/larapay.php`, set virtual account and api key corresponds to your iPaymu account at dashboard.

```
return [
    'va'        => env('LARAPAY_VA', '000000XXXXXXXXXX'),
    'api_key'   => env('LARAPAY_API_KEY', 'SANDBOXXXX-XXXX-XXX'),
    'mode'      => env('LARAPAY_MODE', 'sandbox'), // sandbox | production
    ...
];
```

##### Logging

[](#logging)

Larapay allows saving request data to your log file. To enable this, simply set `LARAPAY_LOG=true`. Every time a request is made to an API, the request data payload will be saved. [![Larapay](assets/log.jpg)](assets/log.jpg)

Usage
=====

[](#usage)

With simple put class of iPaymu to your method of controller.

```
use Nusagates\Larapay\Vendors\iPaymu\Ipaymu;

public function index(Ipaymu $iPaymu)
{
    return $iPaymu->getBalance();
}
```

or fluently

```
use Nusagates\Larapay\Facades\Ipaymu;

Ipaymu::getBalance();
```

Retrieve Balance Information
----------------------------

[](#retrieve-balance-information)

```
$iPaymu->getBalance();
```

Retrieve Transaction History
----------------------------

[](#retrieve-transaction-history)

```
$iPaymu->getHistory();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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 ~27 days

Total

4

Last Release

643d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d58b605f2c9f092c7d58e58191c7d582e85e2e5fa4157bffb56e6a11d7df879?d=identicon)[budairi](/maintainers/budairi)

---

Top Contributors

[![nusagates](https://avatars.githubusercontent.com/u/16206306?v=4)](https://github.com/nusagates "nusagates (24 commits)")[![huiralb](https://avatars.githubusercontent.com/u/8574565?v=4)](https://github.com/huiralb "huiralb (12 commits)")

---

Tags

laravellaravel-packagepayment-gatewaypayment-integrationpayment gatewayindonesia payment gatewaylaravel payment gateway integration

### Embed Badge

![Health badge](/badges/nusagates-larapay/health.svg)

```
[![Health](https://phpackages.com/badges/nusagates-larapay/health.svg)](https://phpackages.com/packages/nusagates-larapay)
```

###  Alternatives

[shetabit/payment

Laravel Payment Gateway Integration Package

943336.8k5](/packages/shetabit-payment)[shetabit/multipay

PHP Payment Gateway Integration Package

293355.3k4](/packages/shetabit-multipay)[cybersource/rest-client-php

Client SDK for CyberSource REST APIs

40930.1k6](/packages/cybersource-rest-client-php)[jomweb/billplz

PHP Agnostic library for working with BillPlz API

77201.2k3](/packages/jomweb-billplz)[luigel/laravel-paymongo

A laravel wrapper for Paymongo API

7961.3k1](/packages/luigel-laravel-paymongo)[hexters/coinpayment

CoinPayment is a Laravel module for handling transactions from CoinPayment like a create transaction, history transaction, etc.

7160.3k](/packages/hexters-coinpayment)

PHPackages © 2026

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