PHPackages                             farhan928/yii2-ipay88 - 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. farhan928/yii2-ipay88

ActiveYii2-extension

farhan928/yii2-ipay88
=====================

Yii2 extension for iPay88 payment gateway

1.0.4(7y ago)042BSD-4-ClausePHP

Since Feb 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/farhan928/yii2-ipay88)[ Packagist](https://packagist.org/packages/farhan928/yii2-ipay88)[ RSS](/packages/farhan928-yii2-ipay88/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

Yii2 iPay88
===========

[](#yii2-ipay88)

Yii2 extension for iPay88 payment gateway

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require farhan928/yii2-ipay88 "^1.0.0"

```

or add

```
"farhan928/yii2-ipay88": "^1.0.0"

```

to the require section of your `composer.json` file.

Release Changes
---------------

[](#release-changes)

> NOTE: Refer the [CHANGE LOG](https://github.com/farhan928/yii2-ipay88/blob/master/CHANGE.md) for details on changes to various releases.

Usage
-----

[](#usage)

Add this to the alias section of your main config.

```
'aliases' => [
    ...
    '@farhan928/Ipay88' => '@vendor/farhan928/yii2-ipay88/src',
    ...
],
```

and add this code below to the module section of your main config.

```
'modules' => [
    ...
    'ipay88' => [
            'class' => 'farhan928\Ipay88\Module',
            'layout' => 'default',
            'authMode' => 'db', //db or config, default to config
            'entityTable' => 'user', // only set if authMode is db
            'entityNameColumn' => 'name', // only set if authMode is db
            'merchantKey' => 'YourMerchantKey', // only set if authMode is config
            'merchantCode' => 'YourMerchantCode', // only set if authMode is config
            'testMode' => false, // if set to true, all transactions will use amount 1.00
            'schema' => 'http', // default to http.
            'on backendPost' => function ($event) {
                // optional - event triggered when there is a backend post
                // use $event->payload to get the post data from ipay88
                // write your code here
            },
        ],
    ],
    ...
],
```

Add this code to the urlManager rules section.

```
'urlManager' => [
    ...
    'rules' => [
        ...
        'ipay88//' => 'ipay88//index',
        'ipay88///' => 'ipay88//',
        'ipay88//' => 'ipay88//',
        ...
    ]
]
```

Run migration files

```
php yii migrate --migrationPath=@farhan928/Ipay88/migrations

```

If authMode is set to db, you can go to  to add your entity configuration such as the merchant code and merchant key

Examples
--------

[](#examples)

### Create a payment Request

[](#create-a-payment-request)

```
$create_request = $ipay88->setEntityId(1) // optional
    ->setRefNo('ABC123') // optional. if leave null or not set, will auto generate.
    ->setAmount(1)
    ->setProdDesc('Product Description')
    ->setUserName('Your User Name')
    ->setUserEmail('youruser@email.com')
    ->setUserContact('012123123123')
    ->setRedirectUrl('http://yourredirecturl.com')
    ->setRemark('Remark') // optional
    ->createRequest();
```

Will return iPay88 object with payment URL. Redirect to the payment URL to proceed with payment.

License
-------

[](#license)

**yii2-ipay88** is released under the BSD-4-Clause License

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~4 days

Total

4

Last Release

2626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a19af5342f31c3ead739e3ee9d07572ddf0463f1780f1de068b47bd4d787ae2?d=identicon)[farhan928](/maintainers/farhan928)

---

Top Contributors

[![farhan928](https://avatars.githubusercontent.com/u/8623033?v=4)](https://github.com/farhan928 "farhan928 (14 commits)")

---

Tags

yii2extensionipay88

### Embed Badge

![Health badge](/badges/farhan928-yii2-ipay88/health.svg)

```
[![Health](https://phpackages.com/badges/farhan928-yii2-ipay88/health.svg)](https://phpackages.com/packages/farhan928-yii2-ipay88)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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