ysg/payment-core
Composer 安装命令:
composer require ysg/payment-core
包简介
Core payment abstractions, contracts and DTOs for Laravel payment integrations.
README 文档
README
Core payment abstractions and contracts for Laravel payment integrations.
Features
- Provider-agnostic payment contracts
- Immutable DTOs
- Shared payment responses
- Shared exceptions
- SOLID architecture
- Designed for extension
Requirements
- PHP 8.3+
- Laravel 11+
Installation
composer require ysg/payment-core
Purpose
This package contains the shared abstractions used by payment provider implementations.
It intentionally contains no provider-specific code.
Provider packages (such as ysg/laravel-mpesa) implement the contracts defined here.
Included
- PaymentProcessor contract
- PaymentRequest
- PaymentResponse
- Money
- Payer
- AccessToken
- Shared payment exceptions
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-13