PHPackages                             ptuchik/omnipay-idram - 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. ptuchik/omnipay-idram

ActiveLibrary[Payment Processing](/categories/payments)

ptuchik/omnipay-idram
=====================

iDram gateway for Omnipay payment processing library

1.0.9(2y ago)927.2k↓23.5%1[2 issues](https://github.com/ptuchik/omnipay-idram/issues)MITPHP

Since May 31Pushed 2y agoCompare

[ Source](https://github.com/ptuchik/omnipay-idram)[ Packagist](https://packagist.org/packages/ptuchik/omnipay-idram)[ Docs](https://github.com/ptuchik/omnipay-idram)[ RSS](/packages/ptuchik-omnipay-idram/feed)WikiDiscussions master Synced 1mo ago

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

Omnipay: iDram
==============

[](#omnipay-idram)

**iDram driver for the Omnipay Laravel payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/873a97a1ebf5f2f7ab0796afc81ce042cc273e9358454c2b8b3ef42b942ba8ec/68747470733a2f2f706f7365722e707567782e6f72672f7074756368696b2f6f6d6e697061792d696472616d2f76657273696f6e2e706e67)](https://packagist.org/packages/ptuchik/omnipay-idram)[![Total Downloads](https://camo.githubusercontent.com/0e308dbd0fd75ae6fb6e4a322798a2b95f84da6e383f23c3872189dfc7345fd7/68747470733a2f2f706f7365722e707567782e6f72672f7074756368696b2f6f6d6e697061792d696472616d2f642f746f74616c2e706e67)](https://packagist.org/packages/ptuchik/omnipay-idram)

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

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "ptuchik/omnipay-idram": "~1.0"
    }
}
```

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require ptuchik/omnipay-idram

```

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

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize iDram gateway:

```
    $gateway = Omnipay::create('Idram');
    $gateway->setAccountId(env('ACCOUNT_ID'));
    $gateway->setSecretKey(env('SECRET_KEY'));
    $purchaseData = $gateway->purchase(); // Call purchase() to get PurchaseRequest instance
    $purchaseData->setLanguage(\App::getLocale()); // Language
    $purchaseData->setAmount(10); // Amount to charge
    $purchaseData->setTransactionId(XXXX); // Transaction ID from your system
```

3. Call purchase, it will automatically redirect to iDram's hosted page

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

4. Create a webhook controller to handle the callback request at your `RESULT_URL` and catch the webhook as follows

```
    $gateway = Omnipay::create('Idram');
    $gateway->setAccountId(env('ACCOUNT_ID'));
    $gateway->setSecretKey(env('SECRET_KEY'));

    $purchase = $gateway->completePurchase()->send();

    // Do the rest with $purchase and response with 'OK'
    if ($purchase->isSuccessful()) {

        // Your logic

    }

    return new Response('OK');
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/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/ptuchik/omnipay-idram/issues), or better yet, fork the library and submit a pull request.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~205 days

Recently: every ~430 days

Total

10

Last Release

1064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97d8960403b7a3aee623f5b5ea9964219b6d23abc8a5c6b893a0832ddcf2d70f?d=identicon)[ptuchik](/maintainers/ptuchik)

---

Top Contributors

[![ptuchik](https://avatars.githubusercontent.com/u/4479697?v=4)](https://github.com/ptuchik "ptuchik (32 commits)")[![Samvel-Sargsyan](https://avatars.githubusercontent.com/u/59954269?v=4)](https://github.com/Samvel-Sargsyan "Samvel-Sargsyan (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchaseidram

### Embed Badge

![Health badge](/badges/ptuchik-omnipay-idram/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

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

PHPackages © 2026

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