PHPackages                             gentor/omnipay-mobilpay - 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. gentor/omnipay-mobilpay

ActiveLibrary[Payment Processing](/categories/payments)

gentor/omnipay-mobilpay
=======================

MobilPay driver for the Omnipay PHP payment processing library

1.2.3(5y ago)03.9kMITPHPPHP &gt;=5.4.0

Since Jul 18Pushed 5y agoCompare

[ Source](https://github.com/gentor/omnipay-mobilpay)[ Packagist](https://packagist.org/packages/gentor/omnipay-mobilpay)[ Docs](https://github.com/gentor/omnipay-mobilpay)[ RSS](/packages/gentor-omnipay-mobilpay/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (12)Used By (0)

Omnipay: MobilPay
=================

[](#omnipay-mobilpay)

**MobilPay 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.4+. This package implements [MOBILPAY](http://www.mobilpay.ro) support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply run:

```
composer require gentor/omnipay-mobilpay

```

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

[](#basic-usage)

The following gateways are provided by this package:

- MobilPay

**Initiating payment request**

```
$gateway = Omnipay::create('MobilPay');
$gateway->setMerchantId('1234-5678-9012-3456-7890');
$gateway->setPublicKey('/path/to/public.cer');

$response = $gateway->purchase([
    'amount'     => '10.00',
    'currency'   => 'RON',
    'orderId'    => 1,
    'confirmUrl' => 'http://example.com/ipn',
    'returnUrl'  => 'http://www.google.com',
    'details'    => 'Test payment',
    'testMode'   => true,
    'params'     => [
        'selected_package' => 1
    ]
])->send();

$response->redirect();
```

**Processing IPN requests**

```
$gateway = Omnipay::create('MobilPay');
$gateway->privateKeyPath('/path/to/private.key');

$response = $gateway->completePurchase($_POST)->send();
$response->sendResponse();

if ($response->isSuccessful()) {
    return STATUS_COMPLETED;
}

if ($response->isCancelled()) {
    return STATUS_CANCELED;
}

if ($response->isPending()) {
    return STATUS_PENDING;
}

if ($response->isRefunded()) {
    return STATUS_REFUNDED;
}
```

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

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~229 days

Recently: every ~563 days

Total

11

Last Release

2021d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/210fd495e96c05caab1d50c09165794ff73175a9b49c43f91df0c8524dfa8add?d=identicon)[gentor](/maintainers/gentor)

---

Top Contributors

[![arthurkirkosa](https://avatars.githubusercontent.com/u/1099791?v=4)](https://github.com/arthurkirkosa "arthurkirkosa (13 commits)")[![adrianbarbos](https://avatars.githubusercontent.com/u/6648011?v=4)](https://github.com/adrianbarbos "adrianbarbos (7 commits)")[![tudor-gala](https://avatars.githubusercontent.com/u/7836866?v=4)](https://github.com/tudor-gala "tudor-gala (7 commits)")[![firewizard](https://avatars.githubusercontent.com/u/1143980?v=4)](https://github.com/firewizard "firewizard (2 commits)")[![oriceon](https://avatars.githubusercontent.com/u/358823?v=4)](https://github.com/oriceon "oriceon (2 commits)")[![gentor](https://avatars.githubusercontent.com/u/2902504?v=4)](https://github.com/gentor "gentor (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasemobilpay

### Embed Badge

![Health badge](/badges/gentor-omnipay-mobilpay/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

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

UnionPay gateway for Omnipay payment processing library

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

PHPackages © 2026

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