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

ActiveLibrary[Payment Processing](/categories/payments)

m1ke/nmi
========

An API implementation for the NMI (Network Merchants International) payment gateway

0.1.x-dev(11y ago)27MITPHPPHP &gt;=5.4.0

Since Nov 5Pushed 11y ago2 watchersCompare

[ Source](https://github.com/M1ke/nmi)[ Packagist](https://packagist.org/packages/m1ke/nmi)[ RSS](/packages/m1ke-nmi/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

NMI API
=======

[](#nmi-api)

An implementation of the [NMI](https://secure.networkmerchants.com/gw/merchants/resources/integration/integration_portal.php#integration_overview) (Network Merchants International) payment gateway

### 3-Step

[](#3-step)

Currently the only implementation. See `example.php` for information on how to use, essentially two main methods are exposed:

```
// creates an object, provide API key and optional redirect URL
$nmi=new Nmi3Step(NMI_KEY);

// returns a submission url as step 1, send a numeric amount to charge
$url=$nmi->get_url($amount);

// Sends the payment with a provided token. Returns a payment result or throws an exception
$payment=$nmi->submit_payment($_GET['token-id']);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e13cb42c1a004c15c986cc3ac59424757dd04b25ed4068146e41812f0410338?d=identicon)[m1ke](/maintainers/m1ke)

---

Top Contributors

[![M1ke](https://avatars.githubusercontent.com/u/1226123?v=4)](https://github.com/M1ke "M1ke (3 commits)")

### Embed Badge

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

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

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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