PHPackages                             tink/omnipay-mobikwik - 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. tink/omnipay-mobikwik

ActiveLibrary

tink/omnipay-mobikwik
=====================

mobikwik driver for the Omnipay PHP payment processing library

v1.0.0(7y ago)061↓100%MITPHP

Since May 29Pushed 7y agoCompare

[ Source](https://github.com/cyub/omnipay-mobikwik)[ Packagist](https://packagist.org/packages/tink/omnipay-mobikwik)[ RSS](/packages/tink-omnipay-mobikwik/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Omnipay: Mobikwik
=================

[](#omnipay-mobikwik)

**Mobikwik driver for the Omnipay PHP payment processing library**

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

用法
--

[](#用法)

### 发起交易

[](#发起交易)

```
$gateway = Omnipay::create('Mobikwik_Express');
$gateway->setMid('MBK9002');
$gateway->setKey('xxxxx');
$gateway->setEnvironment('test');

$params = [
	'email' => "7291994120@nocash.mobikwik.com",
	'orderId' => 'order' . time(),
	'amount' => 0.01,
	'redirecturl' => "http://example.com/callback",
	'showmobile' => 'true',
	'version' => 2,
];

$response = $gateway->purchase($params)->send();
$response->redirect();
```

### 交易通知

[](#交易通知)

```
$gateway->setMid('MBK9002');
$gateway->setKey('xxxxx');
$gateway->setEnvironment('test');

$response = $gateway->completePurchase(['request_params' => $_REQUEST ])->send();
if ($response->isPaid()) { // 成功
...
} elseif ($response->isFailure()) { // 失败
...
} else { // 进行中
...
}
```

### 订单查询

[](#订单查询)

```
$gateway->setMid('MBK9002');
$gateway->setKey('xxxxx');
$gateway->setEnvironment('test');

$response = $gateway->queryOrder(['orderId' => 'xxx'])->send();
if ($response->isPaid()) {
...
} elseif ($response->isFailure()) {
...
} else {
...
}
```

### 发起退款

[](#发起退款)

```
$gateway = Omnipay::create('Mobikwik_Express');

$gateway->setMid('MBK9002');
$gateway->setKey('xxxxx');
$gateway->setEnvironment('test');
$params = [
	'orderId' => 'order0011521618722233',
	'amount' => 0.01
];

$response = $gateway->refund($params)->send();
if ($response->isPaid()) { // 成功
...
} elseif ($response->isFailure()) { // 失败
...
} else { // 进行中
...
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

2904d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/tink-omnipay-mobikwik/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

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

Wechat gateway for Omnipay payment processing library

329224.5k7](/packages/lokielse-omnipay-wechatpay)[lokielse/omnipay-unionpay

UnionPay gateway for Omnipay payment processing library

11358.1k2](/packages/lokielse-omnipay-unionpay)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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