stetodd/payment-gateway
Composer 安装命令:
composer require stetodd/payment-gateway
包简介
Provider-neutral payment gateway contracts, models and test simulator
README 文档
README
Provider-neutral payment gateway contracts: PaymentGatewayInterface, request/response models, and a SimulatorPaymentGateway test double.
Implementations live in separate packages (e.g. stetodd/stripe-gateway-bundle).
Install
composer require stetodd/payment-gateway
Usage
Type-hint Stetodd\PaymentGateway\PaymentGatewayInterface in your application code. Bind it to a concrete gateway implementation in your container.
In tests, use Stetodd\PaymentGateway\Testing\SimulatorPaymentGateway and queue responses with willReturnResponse(string $key, object $response).
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-12