PHPackages                             a-sabagh/laravel-iran-payment - 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. a-sabagh/laravel-iran-payment

ActiveLibrary[Payment Processing](/categories/payments)

a-sabagh/laravel-iran-payment
=============================

Simplifies integration with Iranian payment gateways, offering secure, configurable, payment processing

0174PHP

Since Oct 23Pushed 6mo agoCompare

[ Source](https://github.com/a-sabagh/laravel-iran-payment)[ Packagist](https://packagist.org/packages/a-sabagh/laravel-iran-payment)[ RSS](/packages/a-sabagh-laravel-iran-payment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Iran Payment
====================

[](#laravel-iran-payment)

[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](#license)

A developer-friendly Laravel package that simplifies integration with Iranian payment gateways. It offers a consistent API, secure flows, and an extensible driver system so you can plug in multiple gateways with minimal effort.

> **Why this exists:** to provide a secure, configurable, and developer-friendly way to accept payments via Iranian gateways in Laravel. (Source: repository description &amp; license.)

---

Table of contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Quick start](#quick-start)
- [Usage](#usage)
    - [Process Payment](#create-a-transaction)
    - [Custom drivers](#custom-drivers)
- [Testing](#testing)

---

Features
--------

[](#features)

- ✅ Unified, fluent API across supported gateways
- ✅ Secure purchase → process → verify flow
- ✅ First-class Laravel experience (config, facades, DI, routes, workbench)
- ✅ Extensible driver contract for adding new gateways
- ✅ Well-structured tests scaffold (PHPUnit)

> **Note:** List the exact gateways you ship with under “Supported gateways” below.

**Supported gateways (update this list):**

- Zarinpal
- Payping
- …add more

---

Requirements
------------

[](#requirements)

- PHP **8.1+** (recommended: 8.2/8.3)
- Laravel **10+** or **11**

> If your code requires different versions, update this section.

---

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

[](#installation)

Install via Composer:

```
composer require a-sabagh/laravel-iran-payment
```

Configuration
-------------

[](#configuration)

This package merges its own config and loads translations out-of-the-box:

- Config is merged from: `vendor/a-sabagh/laravel-iran-payment/config/irpayment.php`
- Translations are loaded from: `vendor/a-sabagh/laravel-iran-payment/lang` (namespace: `irpayment`)
- Views are loaded from: `vendor/a-sabagh/laravel-iran-payment/resources/views` (namespace: `irpayment`)

```
php artisan vendor:publish --tag=irpayment
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance46

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f589c5263d4d47f0dc302a25c90e3c5c2832be21618be18c69c3bc746b6eface?d=identicon)[a-sabagh](/maintainers/a-sabagh)

---

Top Contributors

[![a-sabagh](https://avatars.githubusercontent.com/u/24961943?v=4)](https://github.com/a-sabagh "a-sabagh (161 commits)")

### Embed Badge

![Health badge](/badges/a-sabagh-laravel-iran-payment/health.svg)

```
[![Health](https://phpackages.com/badges/a-sabagh-laravel-iran-payment/health.svg)](https://phpackages.com/packages/a-sabagh-laravel-iran-payment)
```

###  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)
