PHPackages                             apanicker/omnipay-municipay - 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. apanicker/omnipay-municipay

ActiveLibrary[Payment Processing](/categories/payments)

apanicker/omnipay-municipay
===========================

MuniciPAY 2.0 driver for the Omnipay payment processing library

v1.0.0(5y ago)010MITPHP

Since Feb 28Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Omnipay: MuniciPAY
==================

[](#omnipay-municipay)

### MuniciPAY driver for the Omnipay payment processing library

[](#municipay-driver-for-the-omnipay-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 MuniciPAY 2.0 support for Omnipay.

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

[](#installation)

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

```
composer require league/omnipay apanicker/omnipay-municipay

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Municipay

In order to use this driver, you need to acquire the test `siteId`, `urlKey` and `prodId` list from [MuniciPAY](https://www.municipay.com). You can set the `testMode` parameter to `true` if you want to run the driver in sandbox mode.

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Municipay');

$gateway->initialize([
    'siteId' => 'xxxxxxxxxx',
    'urlKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxx'
]);

$response = $gateway->purchase([
    'transactionId' => 1234,
    'redirectUrl' => 'https://example.com/callback/1234',
    'listItems' => [
        [
            "prodId" => "xxxxxxxxxxxxxxxxxxxxxxxxxx",
            "amount" => "100",
            "refNum" => "XXXXXXX"
        ],
        [
            "prodId" => "xxxxxxxxxxxxxxxxxxxxxxxxxx",
            "amount" => "80.00",
            "refNum" => "XXXXXXX"
        ]
    ]
])->send();

if ($response->isRedirect()) {
    $response->redirect();
}

```

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

Support
-------

[](#support)

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

1950d ago

### Community

Maintainers

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

---

Top Contributors

[![aravindpanicker](https://avatars.githubusercontent.com/u/3197412?v=4)](https://github.com/aravindpanicker "aravindpanicker (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaymunicipay

### Embed Badge

![Health badge](/badges/apanicker-omnipay-municipay/health.svg)

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

###  Alternatives

[omnipay/payflow

Payflow driver for the Omnipay payment processing library

201.0M3](/packages/omnipay-payflow)[omnipay/payfast

PayFast driver for the Omnipay payment processing library

24641.0k3](/packages/omnipay-payfast)

PHPackages © 2026

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