PHPackages                             larrytech7/omnipay-momocm - 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. larrytech7/omnipay-momocm

ActiveLibrary[Payment Processing](/categories/payments)

larrytech7/omnipay-momocm
=========================

MTN CAM mobile money driver gateway for Omnipay payment processing library

v4.0.12(5y ago)43994[2 PRs](https://github.com/larrytech7/omnipay-momocm/pulls)MITPHP

Since Sep 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/larrytech7/omnipay-momocm)[ Packagist](https://packagist.org/packages/larrytech7/omnipay-momocm)[ Docs](https://github.com/larrytech7/omnipay-momocm)[ RSS](/packages/larrytech7-omnipay-momocm/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (14)Used By (0)

Omnipay: momocm
===============

[](#omnipay-momocm)

**MTN Mobile money driver for the Omnipay PHP payment processing library**

[![Build Status](https://camo.githubusercontent.com/6a561dbed57f95460ffcc54985660aa86a2c47ad634e8b304c6e7bac822cf221/68747470733a2f2f7472617669732d63692e6f72672f7468657068706c65616775652f6f6d6e697061792d636f6d6d6f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/larrytech7/omnipay-momocm)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements MTN Mobile money support for Omnipay.

Note
----

[](#note)

This release is scurrently unstable but will soon be released on a stable branch when the fix is applied. If you seek to use this package urgently, please contact author @larrytech7

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, go to your project root directory and simply run :

```
$ composer require league/omnipay larrytech7/omnipay-momocm

```

OR you can also add the following lines to your composer.json inside the require field parameter

```
"league/omnipay": "^3.0",
"larrytech7/omnipay-momocm" : "^3.0"

```

Then run `composer update` to fetch it

Basic Usage
-----------

[](#basic-usage)

The following methods are provided by this package:

- purchase

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Momoc');
$config = [
    'providerCallbackHost' =>'http://mycallback',
    'amount' => 100.00, //amount the client should pay
    'api_user' => '', //your provided profile apiuser
    'api_key' => '', //your provided profile api key
    'subscription_key' => '', //your provided subscription key
];

$gateway->authorize($config);
$response = $gateway->purchase($config)->send();

$transactionInfo = $response->getMessage(); //an array containing transaction data

if($response->isSuccessful()){
    //save transaction to database and notify the user
    //.....
}else{
    //get error from the message and notify the user
    //......
}

```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/dilab/omnipay-2c2p/issues), or better yet, fork the library and submit a pull request.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 73.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 ~151 days

Recently: every ~141 days

Total

10

Last Release

2156d ago

Major Versions

1.0.0 → 2.0.02018-04-11

v1.0.2 → v3.02018-11-28

v3.3 → v4.0.12020-05-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/539729bc32baff2574397dae5ee0defdd566279a361a20430e48a054a0ca940b?d=identicon)[larrytech7](/maintainers/larrytech7)

---

Top Contributors

[![larrytech7](https://avatars.githubusercontent.com/u/6492285?v=4)](https://github.com/larrytech7 "larrytech7 (45 commits)")[![dilab](https://avatars.githubusercontent.com/u/218813?v=4)](https://github.com/dilab "dilab (16 commits)")

---

Tags

moneymobilepaymentgatewaymerchantomnipaymomoc

### Embed Badge

![Health badge](/badges/larrytech7-omnipay-momocm/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

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

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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