Download the PHP package ysg/payment-core without Composer
On this page you can find all versions of the php package ysg/payment-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package payment-core
YSG Payment Core
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
All versions of payment-core with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
The package ysg/payment-core contains the following files
Loading the files please wait ...