PHPackages                             netramz/parsianipg - 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. netramz/parsianipg

ActiveLibrary[Payment Processing](/categories/payments)

netramz/parsianipg
==================

v1.3(2y ago)151GPL-3.0-or-laterPHPPHP &gt;=5.3.0

Since Jul 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Netramz/ParsianIPG)[ Packagist](https://packagist.org/packages/netramz/parsianipg)[ RSS](/packages/netramz-parsianipg/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)DependenciesVersions (7)Used By (0)

ParsianIPG
==========

[](#parsianipg)

Internet Payment Gateway Library for Parsian bank **(Iran Banking System)**

Install Using Composer
----------------------

[](#install-using-composer)

```
composer require netramz/parsianipg

```

Usage
-----

[](#usage)

```
use Netramz\ParsianIPG\ParsianIPG;
$IPG = new ParsianIPG('MERCHANTID');

```

Payment Request
---------------

[](#payment-request)

```
$paymentRequest = $IPG->paymentRequest($Amount, $OrderId, $CallBackUrl);

if ($paymentRequest->Status == 'success') {
    echo 'https://pec.shaparak.ir/NewIPG/?Token='.$paymentRequest->token;
}else{
    //error
}

```

Confirm Payment
---------------

[](#confirm-payment)

```
$confirmPayment = $IPG->confirmPayment($token);
if ($confirmPayment->Status == 'success') {

    $Data = [
        "status"           => $paymentRequest->Status,
        "message"          => $paymentRequest->message,
        "CardNumberMasked" => $paymentRequest->CardNumberMasked,
        "RRN"              => $paymentRequest->RRN,
    ];

}else{
    //error
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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 ~144 days

Recently: every ~181 days

Total

6

Last Release

1050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6420286bffc7b48bf0c2385c42dc6eff530e12a6154f7f7f72c0b55c69a82531?d=identicon)[aminrpg](/maintainers/aminrpg)

---

Top Contributors

[![aminrpg](https://avatars.githubusercontent.com/u/2221230?v=4)](https://github.com/aminrpg "aminrpg (21 commits)")[![black-jei](https://avatars.githubusercontent.com/u/68666336?v=4)](https://github.com/black-jei "black-jei (1 commits)")

---

Tags

bankinggatewayipgiranparsian

### Embed Badge

![Health badge](/badges/netramz-parsianipg/health.svg)

```
[![Health](https://phpackages.com/badges/netramz-parsianipg/health.svg)](https://phpackages.com/packages/netramz-parsianipg)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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