mcxv/laravel-payment-gateway-adapter
最新稳定版本:1.0.3
Composer 安装命令:
composer require mcxv/laravel-payment-gateway-adapter
包简介
Laravel payment adapter for various payment gateways
README 文档
README
This package provides a simple adapter for integrating various payment gateways into Laravel 11 applications. It allows developers to easily switch between different payment providers without changing the core application logic.
The adapter does not store data or state; it simply provides a unified interface for payment operations. All actions will be broadcast via events.
Procedures
Primary Flow
@startuml actor User participant "Main Application" as App participant "Payment Gateway Adapter" as Adapter participant "Payment Provider" as Provider == Payment request == User -> App : Initiate Payment App -> App : Create Invoice App -> Adapter : Process Payment Adapter -> Provider : Payment Creation Request Provider -> Adapter : Payment Creation Response Adapter -> App : Invoice Information == Webhook == Provider -> Adapter : Send Webhook Notification Adapter -> Adapter : Create Payment Event App -> App : Handle Payment Event @enduml
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2025-09-26