PHPackages                             peppertech/larapaymongo - 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. peppertech/larapaymongo

ActiveLibrary[Payment Processing](/categories/payments)

peppertech/larapaymongo
=======================

Laravel-Paymongo Payment Integration

v1.0(5y ago)81029MITPHP

Since Dec 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/francisfueconcillo/larapaymongo)[ Packagist](https://packagist.org/packages/peppertech/larapaymongo)[ RSS](/packages/peppertech-larapaymongo/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (9)Used By (0)

LaraPaymongo
============

[](#larapaymongo)

---

- [Overview](#overview)
- [Features](#features)
- [Installation](#install)
- [Configuration](#config)
- [Integration](#integrate)
- [Testing](#testing)

Overview
--------

[](#overview)

LaraPaymongo is a [PayMongo](https://paymongo.com) integration with Laravel. Paymongo currently supports Credit/Debit Cards (Philippines only), GCash and GrabPay Payments. LaraPaymongo provides an easy way to integrate your Laravel website with Paymongo.

Features
--------

[](#features)

- Ready-made Payment Pages and Purchase Button UI component
- Laravel routes, controllers views are ready-made - almost plug-and-play.
- Developers just need to define their application's logic before and after payments are made.

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

[](#installation)

```
composer require peppertech/larapaymongo

```

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

[](#configuration)

### Environment variables

[](#environment-variables)

VariableRequiredDescriptionDefault ValueMIX\_PAYMONGO\_API\_URLYesPayMongo API URLMIX\_PAYMONGO\_PUBLIC\_KEYYesPayMongo Public Key. Values for Test or Live will be provided.nonePAYMONGO\_STATEMENT\_DESCRIPTORYesThe string that will appear on customer Billing Statement. This should be different per project.nonePAYMONGO\_SECRET\_KEYYesPayMongo Secret Key. Values for Test or Live will be provided.nonePAYMONGO\_PUBLIC\_KEYYesPayMongo Public Key. same as MIX\_PAYMONGO\_PUBLIC\_KEYnonePAYMONGO\_WEBHOOK\_SIGNOPayMongo Webhook Signature. This should be different per project. Generated using PayMongo API only once per project.none

Integration
-----------

[](#integration)

- Run the followign command to copy VueJS files and the `LaraPaymongoIntegrator` class to the main app

```
php artisan vendor:publish --tag="larapaymongo" --force

```

### `LaraPaymongoIntegrator` class

[](#larapaymongointegrator-class)

The publish command will copy `LaraPaymongoIntegrator` in `/app` diectory. This class will contain the necessary logic of your application to be ran before and after payment is done by the user.

- `updateTransactionSourceId()` method is called by LaraPaymongo when Source ID needs to be save in database against the Transaction Reference ID (this could be the Order ID in your application).
- `getTransactionDetails()` method is called by LaraPaymongo when it needs the Transaction Details for the purchase. This method should query your database to retrive the information.
- `completeTransaction()` method is called by LaraPaymongo after the payment is successful.

### Vue Components

[](#vue-components)

Vue Components are copied from this package to your app in `resources/js/components`.

### Ready-made Routes and Views

[](#ready-made-routes-and-views)

Here are the available routes and views for LaraPaymongo

- `/payment/` The Payment Page, where `referid` is the Transaction Reference ID.
- `/payment/source/{method}/{referId}` URL that gets called to generate a Source ID from Paymongo, when GCash/GrabPay payments are selected, where `method` can be `gcash|grab_pay` and `referId` is the Transaction Reference ID.
- `/payment/verify/{paymentIntentId}`, callback URL when Card Payment is successful. where `paymentIntentId` is Paymongo Payment Intent ID.
- `/payment/details/{referId}` callback URL for GCash and GrabPay payments. It can also be used to check the status of the Transaction.

**IMPORTANT:** The `Views/payment.blade.php` of this package extends from `view/layouts.app` of your app, so it should exist in your application's views.

Testing
-------

[](#testing)

- After Installation and Configuration, navigate to `http:///payment/111`, it should show the Payment Page.
- Use the Test Credit Card numbers from [PayMongo Testing](https://developers.paymongo.com/docs/testing)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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 ~18 days

Total

7

Last Release

1899d ago

Major Versions

v0.1.14 → v1.02021-04-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/16d1a132239721c0ecc8e756b5c24d712a65e9a02897da2a1f7718712673181b?d=identicon)[francisf](/maintainers/francisf)

---

Top Contributors

[![francisfueconcillo](https://avatars.githubusercontent.com/u/2332683?v=4)](https://github.com/francisfueconcillo "francisfueconcillo (33 commits)")[![luigel](https://avatars.githubusercontent.com/u/26235960?v=4)](https://github.com/luigel "luigel (1 commits)")

### Embed Badge

![Health badge](/badges/peppertech-larapaymongo/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[krayin/laravel-crm

Krayin CRM

23.2k33.6k1](/packages/krayin-laravel-crm)[sebastienheyd/boilerplate

Laravel Boilerplate based on AdminLTE 3 with blade components, user management, roles, permissions, logs viewer, ...

29420.1k3](/packages/sebastienheyd-boilerplate)[exceedone/exment

Management for Product, Client, Contracts, Subscription, ...

28038.8k](/packages/exceedone-exment)

PHPackages © 2026

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