PHPackages                             laranex/laravel-myanmar-payments - 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. laranex/laravel-myanmar-payments

ActiveLibrary[Payment Processing](/categories/payments)

laranex/laravel-myanmar-payments
================================

A Laravel package to deal with Payment Providers from Myanmar

v2.2.5(7mo ago)2511.7k—0%7MITPHPPHP ^7.4|^8.0

Since Nov 14Pushed 4d ago1 watchersCompare

[ Source](https://github.com/laranex/laravel-myanmar-payments)[ Packagist](https://packagist.org/packages/laranex/laravel-myanmar-payments)[ Docs](https://github.com/laranex/laravel-myanmar-payments)[ RSS](/packages/laranex-laravel-myanmar-payments/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (1)Versions (34)Used By (0)

Laravel Myanmar Payments
========================

[](#laravel-myanmar-payments)

[![Latest Version on Packagist](https://camo.githubusercontent.com/064416a309ed0743dd0bcc75ce1cb1689cae05fe4fbac664b7d3407676b50574/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4c6172616e65782f6c61726176656c2d6d79616e6d61722d7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laranex/laravel-myanmar-payments)[![Total Downloads](https://camo.githubusercontent.com/0be3f312e16052aa50b2c59105041229b914090fd772135ebe34c270d9dd7677/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4c6172616e65782f6c61726176656c2d6d79616e6d61722d7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laranex/laravel-myanmar-payments)

A Laravel Package to deal with Payment Providers from Myanmar. This package can take care of PGW payments.

Supported Payments are as follows.

- Wave Money
- 2C2P
- KBZPay
- Cybersource
- AYA Payment Gateway

### Workflows

[](#workflows)

- Client App - Server Workflow

[![Client App - Server Workflow](docs/ClientAppServerPGW.png)](docs/ClientAppServerPGW.png)

- Server Side only Workflow

[![Server Side only Workflow](docs/ServerSideOnlyPGW.png)](docs/ServerSideOnlyPGW.png)

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

[](#installation)

You can install the package via composer:

```
composer require laranex/laravel-myanmar-payments
```

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

[](#configuration)

```
  php artisan vendor:publish --tag="laravel-myanmar-payments"
```

Upgrade Guide
-------------

[](#upgrade-guide)

- v1 -&gt; v2
    - Backup &amp; Delete the existing config/laravel-myanmar-payments.php (if only published before)
    - Publish the new config/laravel-myanmar-payments, and re-merge the old config/laravel-myanmar-payments.php
    - Update .env (KBZ Pay is supported now)

[Wave Money Configuration](https://github.com/DigitalMoneyMyanmar/wppg-documentation#23-environment)[2c2P Configuration](https://developer.2c2p.com/docs/redirect-api-integrate-with-payment)[KBZ Pay Configuration](https://wap.kbzpay.com/pgw/uat/api/#/en/dashboard)

Usage
-----

[](#usage)

```
use Laranex\LaravelMyanmarPayments\LaravelMyanmarPaymentsFacade;

# WAVEMONEY
# Payment Screen
LaravelMyanmarPaymentsFacade::channel('wave_money')
    ->getPaymentScreenUrl($items, $orderId, $amount, $merchantReferenceId, $backendResultUrl, $frontendResultUrl, $paymentDescription)
# Validate Response Signature
Laranex\LaravelMyanmarPayments\LaravelMyanmarPaymentsFacade::channel("wave_money")
    ->verifyWaveSignature($request)

# 2C2P
# Payment Screen
LaravelMyanmarPaymentsFacade::channel('2c2p')
    ->getPaymentScreenUrl($orderId, $amount, $noneStr, $backendResultUrl,$currencyCode, $frontendResultUrl, $paymentDescription, $userDefined)
# Parse Response Payload
Laranex\LaravelMyanmarPayments\LaravelMyanmarPaymentsFacade::channel('2c2p')
->parseJWT('jwtTokenFrom2c2cServer', $currencyCode)
# $frontendResultUrl & $paymentDescription are optional and the rest are mandatory.

#KBZ PAY
# PWA URL
LaravelMyanmarPaymentsFacade::channel("kbz_pay.pwaapp")
    ->getPaymentScreenUrl($orderId, $amount, $nonceStr,  $backendResultUrl)
# QR Code
LaravelMyanmarPaymentsFacade::channel("kbz_pay.qr")
    ->getPaymentQr($orderId, $amount, $nonceStr,  $backendResultUrl)

# In App
LaravelMyanmarPaymentsFacade::channel("kbz_pay.app")->getPaymentData($orderId, $amount, $nonceStr, $backendResultUrl);

# $nonceStr should be at least 32 characters long, uppercase & numbers according to KbzPay Documentation

# Validate Response Signature
LaravelMyanmarPaymentsFacade::channel("kbz_pay.qr")
    verifySignature($request)

#Cybersource
# Secure Acceptance
LaravelMyanmarPaymentsFacade::channel("cyber_source.secure_acceptance")
    ->getPaymentData($transactionId, $referenceNumber, $amount)

# Validate Request Signature
LaravelMyanmarPaymentsFacade::channel("cyber_source.secure_acceptance")
    ->verifySignature($request)

# AYA Payment Gateway
# Request available payment methods
LaravelMyanmarPaymentsFacade::channel("aya_pgw")
    ->getPaymentServices()
# Payment Screen Payload
LaravelMyanmarPaymentsFacade::channel("aya_pgw")
    ->paymentRequest($orderId, $amount, $channel, $method, $currencyCode)
# Enquiry Payment Status
LaravelMyanmarPaymentsFacade::channel("aya_pgw")
    ->paymentEnquiry($orderId)
# Validate Response Payload Signature
LaravelMyanmarPaymentsFacade::channel("aya_pgw")
    ->verifySignature($payload, $checkSum)
```

For more api options, you can read the composition of the

- Wave Money function [here](src/WaveMoney.php)
- 2c2P [here](src/TwoCTwoP.php)
- KBZ Pay
    - [PWA](src/KbzPayPwa.php)
    - [QR](src/KbzPayQr.php)
    - [InApp](src/KbzPayApp.php)
- Cybersource
    - [Secure Acceptance](src/CyberSourceSecureAcceptance.php)
- AYA Payment Gateway [here](src/AyaPgw.php)

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributors
------------

[](#contributors)

- [Nay Thu Khant](https://github.com/naythukhant)
- [Thin Aung](https://github.com/makgsoewar)
- [Pai Soe Htike](https://github.com/paisoedev)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 76.8% 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 ~55 days

Recently: every ~94 days

Total

25

Last Release

4d ago

Major Versions

v1.1.4 → v2.0.02024-03-17

v2.2.5 → v3.x-dev2026-07-01

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v3.x-devPHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2325853b60b6406c6858e62ccac7bc18920067222cd3d704e288aacc0d29798?d=identicon)[NayThuKhant](/maintainers/NayThuKhant)

---

Top Contributors

[![NayThuKhant](https://avatars.githubusercontent.com/u/61656360?v=4)](https://github.com/NayThuKhant "NayThuKhant (43 commits)")[![paisoehtike-onenex](https://avatars.githubusercontent.com/u/137976244?v=4)](https://github.com/paisoehtike-onenex "paisoehtike-onenex (11 commits)")[![hareom284](https://avatars.githubusercontent.com/u/64596861?v=4)](https://github.com/hareom284 "hareom284 (1 commits)")[![Makgsoewar](https://avatars.githubusercontent.com/u/9625092?v=4)](https://github.com/Makgsoewar "Makgsoewar (1 commits)")

---

Tags

laranexlaravel-myanmar-paymentslaravel-wave-moneylaravel-2c2p

### Embed Badge

![Health badge](/badges/laranex-laravel-myanmar-payments/health.svg)

```
[![Health](https://phpackages.com/badges/laranex-laravel-myanmar-payments/health.svg)](https://phpackages.com/packages/laranex-laravel-myanmar-payments)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[cybersource/rest-client-php

Client SDK for CyberSource REST APIs

40952.8k6](/packages/cybersource-rest-client-php)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[paypayopa/php-sdk

PHP SDK for PayPay Open Payment API

18314.0k5](/packages/paypayopa-php-sdk)

PHPackages © 2026

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