PHPackages                             morcano/omnipay-nmi - 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. morcano/omnipay-nmi

ActiveLibrary[Payment Processing](/categories/payments)

morcano/omnipay-nmi
===================

NMI (Network Merchants Inc.) driver for the Omnipay PHP payment processing library

3.07(6y ago)1455↓100%11MITPHP

Since Feb 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/morcano/omnipay-nmi)[ Packagist](https://packagist.org/packages/morcano/omnipay-nmi)[ Docs](https://gitlab.com/simplepay-io/projects/omnipay-nmi)[ RSS](/packages/morcano-omnipay-nmi/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (12)Used By (1)

Omnipay: NMI (Network Merchants Inc.)
=====================================

[](#omnipay-nmi-network-merchants-inc)

**NMI (Network Merchants Inc.) driver for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements [NMI](https://www.nmi.com/) (Network Merchants Inc.) support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply require `morcano/omnipay-nmi` with Composer:

```
composer require morcano/omnipay-nmi:"*"

```

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

[](#basic-usage)

The following gateways are provided by this package:

- NMI\_DirectPost

```
$gateway = Omnipay::create('NMI_DirectPost');
$gateway->setUsername('demo');
$gateway->setPassword('password');

$request = $gateway->purchase([
    'amount' => $amount,
    'card' => [
        'number' => '4111111111111111',
        'expiryMonth' => '10',
        'expiryYear' => '25',
        'cvv' => '111'
    ],
    ...
])->send();

if ($response->isSuccessful()) {
    // payment was successful: update database
    dump($response);
} else {
    // payment failed: display message to customer
    dump('Error: ' . $response->getMessage());
}
```

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/thephpleague/omnipay-authorizenet/issues), or better yet, fork the library and submit a pull request.

###  Health Score

33

—

LowBetter than 76% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~200 days

Recently: every ~110 days

Total

10

Last Release

2260d ago

Major Versions

v2.0.1 → 3.0.02018-06-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/9231d70aed850681391dd846db714a3c172ab63ac1ff7a9fa06e538659a7c8ee?d=identicon)[morcano](/maintainers/morcano)

---

Top Contributors

[![mfauveau](https://avatars.githubusercontent.com/u/32339?v=4)](https://github.com/mfauveau "mfauveau (20 commits)")[![morcano](https://avatars.githubusercontent.com/u/17854141?v=4)](https://github.com/morcano "morcano (11 commits)")[![funkjedi](https://avatars.githubusercontent.com/u/9314?v=4)](https://github.com/funkjedi "funkjedi (6 commits)")[![MMasterson](https://avatars.githubusercontent.com/u/7249305?v=4)](https://github.com/MMasterson "MMasterson (3 commits)")

---

Tags

paymentgatewaypaymerchantomnipaynetworkpurchasenmidurangoinc

### Embed Badge

![Health badge](/badges/morcano-omnipay-nmi/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

558420.4k10](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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