Skip to content

simplifies integration with Iranian payment gateways, offering secure, configurable, and developer-friendly payment processing

License

Notifications You must be signed in to change notification settings

a-sabagh/laravel-iran-payment

Repository files navigation

Laravel Iran Payment

License: MIT

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 & license.)


Table of contents


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
  • …add more

Requirements

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

If your code requires different versions, update this section.


Installation

Install via Composer:

composer require a-sabagh/laravel-iran-payment

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

About

simplifies integration with Iranian payment gateways, offering secure, configurable, and developer-friendly payment processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages