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.)
- ✅ 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
- PHP 8.1+ (recommended: 8.2/8.3)
- Laravel 10+ or 11
If your code requires different versions, update this section.
Install via Composer:
composer require a-sabagh/laravel-iran-payment
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