PHPackages                             akara/bagisto-midtrans-payment - 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. akara/bagisto-midtrans-payment

ActiveLibrary[Payment Processing](/categories/payments)

akara/bagisto-midtrans-payment
==============================

Midtrans Payment Integration for Bagisto

v1.0.5(7mo ago)141↓87.5%MITPHPPHP ^8.1

Since Nov 22Pushed 6mo agoCompare

[ Source](https://github.com/Nxx1/bagisto-midtrans-payment)[ Packagist](https://packagist.org/packages/akara/bagisto-midtrans-payment)[ RSS](/packages/akara-bagisto-midtrans-payment/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

Bagisto Midtrans Payment Gateway
================================

[](#bagisto-midtrans-payment-gateway)

A complete Midtrans Snap payment gateway integration for **Bagisto 2.3.x**, providing secure checkout redirection, Webhook notifications, transaction persistence, and Bagisto-native payment method registration.

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

[](#requirements)

- PHP **8.1+**
- Bagisto **2.3.x**
- Midtrans Server Key &amp; Client Key

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

[](#installation)

### 1. Require Package

[](#1-require-package)

```
composer require akara/bagisto-midtrans-payment
```

### 2. Run Installer

[](#2-run-installer)

```
php artisan akara:install-midtrans
```

This command:

- Publishes config
- Runs migrations
- Registers payment method
- Clears caches

### 3. Environment Variables

[](#3-environment-variables)

```
MIDTRANS_MODE=sandbox
MIDTRANS_SERVER_KEY=your-server-key
MIDTRANS_CLIENT_KEY=your-client-key

```

Midtrans Dashboard Settings
===========================

[](#midtrans-dashboard-settings)

SettingURLPayment Notification URL`https://yourdomain.com/api/midtrans/notification`Recurring Notification URL`https://yourdomain.com/api/midtrans/notification`Pay Account Notification URL`https://yourdomain.com/api/midtrans/notification`License
=======

[](#license)

MIT License

Copyright (c) 2025 N.Pratama

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance65

Regular maintenance activity

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

224d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77111?v=4)[Akara Sucharitakul](/maintainers/Akara)[@akara](https://github.com/akara)

---

Top Contributors

[![Nxx1](https://avatars.githubusercontent.com/u/20744855?v=4)](https://github.com/Nxx1 "Nxx1 (9 commits)")

### Embed Badge

![Health badge](/badges/akara-bagisto-midtrans-payment/health.svg)

```
[![Health](https://phpackages.com/badges/akara-bagisto-midtrans-payment/health.svg)](https://phpackages.com/packages/akara-bagisto-midtrans-payment)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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