azaharizaman/nexus-payment-rails
最新稳定版本:v0.1.0-alpha1
Composer 安装命令:
composer require azaharizaman/nexus-payment-rails
包简介
Payment rails extension providing ACH, Wire, Check, RTGS, and other payment network implementations
README 文档
README
Version: 0.1.0
Status: In Development
PHP: ^8.3
Extends: azaharizaman/nexus-payment
Overview
Nexus\PaymentRails is an extension package for Nexus\Payment providing payment rail implementations for ACH, Wire Transfer, Check, RTGS, and other payment networks. This package handles the specifics of each payment method including validation, fee calculation, processing time, and execution.
Installation
composer require azaharizaman/nexus-payment-rails
Features
- ACH Payments - Automated Clearing House (US banking network)
- Wire Transfers - SWIFT/Fedwire/CHIPS
- Check Processing - Physical check generation and positive pay
- RTGS - Real-Time Gross Settlement
- Virtual Cards - Single-use virtual card generation
- Rail Selection - Automatic optimal rail selection based on criteria
Quick Start
use Nexus\PaymentRails\Contracts\PaymentRailSelectorInterface; use Nexus\PaymentRails\Contracts\PaymentRailInterface; final readonly class DisbursementService { public function __construct( private PaymentRailSelectorInterface $railSelector, ) {} public function processPayment(PaymentRequest $request): PaymentResult { // Auto-select optimal rail based on amount, urgency, cost $rail = $this->railSelector->selectOptimalRail($request); // Execute via selected rail return $rail->execute($request); } }
Available Rails
| Rail | Class | Use Case |
|---|---|---|
| ACH | AchPaymentRail |
US domestic, low-cost, 1-3 days |
| Wire | WirePaymentRail |
Urgent, same-day, international |
| Check | CheckPaymentRail |
Legacy vendors, mail delivery |
| RTGS | RtgsPaymentRail |
High-value, real-time settlement |
| Virtual Card | VirtualCardPaymentRail |
Secure, rebate-earning |
Documentation
License
MIT License. See LICENSE for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04