Download the PHP package rublex/laravel-core-gateway without Composer
On this page you can find all versions of the php package rublex/laravel-core-gateway. 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 laravel-core-gateway
Laravel Core Gateway
Vendor-agnostic abstractions for building fiat and crypto gateway integrations with a single reusable contract layer.
Purpose
- Shared contracts and capabilities for gateway services.
- Immutable data objects for request and response exchange.
- Generic validation and exception primitives.
- No provider-specific business logic.
Installation
Contracts Overview
Common
Rublex\CoreGateway\Contracts\Common\GatewayInterfacecode(): stringtype(): GatewayType
Payment capabilities
Rublex\CoreGateway\Contracts\Payment\InitiatesPaymentInterfaceRublex\CoreGateway\Contracts\Payment\VerifiesPaymentInterfaceRublex\CoreGateway\Contracts\Payment\QueriesPaymentStatusInterface(optional)Rublex\CoreGateway\Contracts\Payment\HandlesCallbackInterface(optional)
Use only the capabilities supported by a specific provider package.
Dynamic Meta Usage
DynamicDataBag stores extensible payload fields without adding provider-specific fields to core DTOs.
Fiat/Crypto Readiness
- Gateway category is declared via
GatewayType(FIATorCRYPTO). - Lifecycle result state is standardized via
PaymentStatus. - Provider-specific fields remain in
meta/rawbags, so crypto providers can reuse the same DTOs.
Example Implementation
Migration Notes
- Previous releases exposed only package metadata.
v1.0.0now includes reusable contracts, enums, exceptions, and DTOs for all gateway packages.- Existing provider packages can keep their public methods and map them to the new contract methods internally.
License
This package is open-sourced software licensed under the MIT license.
All versions of laravel-core-gateway with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package rublex/laravel-core-gateway contains the following files
Loading the files please wait ...