PHPackages                             omarusman/omnipay-paymongo - 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. omarusman/omnipay-paymongo

ActiveLibrary[Payment Processing](/categories/payments)

omarusman/omnipay-paymongo
==========================

A Paymongo driver for Omnipay PHP payment processing library

1.0.2(6y ago)42012[1 issues](https://github.com/oozman/omnipay-paymongo/issues)[2 PRs](https://github.com/oozman/omnipay-paymongo/pulls)MITPHP

Since Mar 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/oozman/omnipay-paymongo)[ Packagist](https://packagist.org/packages/omarusman/omnipay-paymongo)[ RSS](/packages/omarusman-omnipay-paymongo/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (5)Used By (0)

Omnipay - Paymongo
==================

[](#omnipay---paymongo)

A Paymongo driver for [Omnipay](https://omnipay.thephpleague.com/) PHP payment processing library.

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

[](#installation)

```
composer require omarusman/omnipay-paymongo

```

Usage
-----

[](#usage)

### Credit or Debit Card

[](#credit-or-debit-card)

To start processing payment via Paymongo's Credit or Debit Card.

**1. Make an Omnipay Gateway:**

```
$gateway = Omnipay::create('Paymongo_Card');
$gateway->setKeys('pk_test_csp6bBgoLuJ6TXT6Nzm6bTVN', 'sk_test_NW1bkhC8pa77ttiYQaJcVAhU');
```

This will create you a new instance of Omnipay Paymongo\_Card gateway and set your Paymongo's `public key` and `secret key`.

You can view your keys at [Paymongo Developer Page](https://dashboard.paymongo.com/developers)

**2. Authorize a credit or debit card:**

```
$token = $gateway->authorize([
    'number'      => '4123 4501 3100 0508',
    'expiryMonth' => '1',
    'expiryYear'  => '22',
    'cvv'         => '123',
]);
```

This will return a `Token` object which you can use to process a payment.

**3. Process a Payment**

```
$payment = $gateway->purchase([
    'amount'               => '123.45',
    'currency'             => 'PHP',
    'description'          => 'Just a purchase!',
    'statement_descriptor' => 'MyCo',
    'token'                => $token,
]);
```

This will return a `Payment` object containing information about your payment.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.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 ~0 days

Total

2

Last Release

2251d ago

### Community

Maintainers

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

---

Top Contributors

[![oozman](https://avatars.githubusercontent.com/u/2807969?v=4)](https://github.com/oozman "oozman (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/omarusman-omnipay-paymongo/health.svg)

```
[![Health](https://phpackages.com/badges/omarusman-omnipay-paymongo/health.svg)](https://phpackages.com/packages/omarusman-omnipay-paymongo)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[lokielse/omnipay-wechatpay

Wechat gateway for Omnipay payment processing library

329224.5k7](/packages/lokielse-omnipay-wechatpay)[lokielse/omnipay-unionpay

UnionPay gateway for Omnipay payment processing library

11358.1k2](/packages/lokielse-omnipay-unionpay)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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