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

ActiveLibrary[Payment Processing](/categories/payments)

nerdmedia/omnipay-nmi
=====================

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

3.06(7y ago)43.5k↓33.3%1MITPHP

Since Feb 11Pushed 6y ago3 watchersCompare

[ Source](https://github.com/nerdmedia/omnipay-nmi)[ Packagist](https://packagist.org/packages/nerdmedia/omnipay-nmi)[ Docs](https://github.com/nerdmedia/omnipay-nmi)[ RSS](/packages/nerdmedia-omnipay-nmi/feed)WikiDiscussions master Synced 3w ago

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

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 `nerdmedia/omnipay-nmi` with Composer:

```
composer require nerdmedia/omnipay-nmi:"3.x@dev"

```

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

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 69% 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 ~208 days

Recently: every ~128 days

Total

10

Last Release

2282d ago

Major Versions

v2.0.1 → 3.0.02018-06-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/01c6f430ebe0cc3ec85253e465188a292cb50be312a657fd15af798c66c81d13?d=identicon)[nerdmedia](/maintainers/nerdmedia)

---

Top Contributors

[![mfauveau](https://avatars.githubusercontent.com/u/32339?v=4)](https://github.com/mfauveau "mfauveau (20 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/nerdmedia-omnipay-nmi/health.svg)

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

PHPackages © 2026

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