a-sabagh/laravel-iran-payment
Composer 安装命令:
composer require a-sabagh/laravel-iran-payment
包简介
Simplifies integration with Iranian payment gateways, offering secure, configurable, payment processing
README 文档
README
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
- Payping
- …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
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-31