Download the PHP package nokimaro/liontech-php-sdk without Composer
On this page you can find all versions of the php package nokimaro/liontech-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nokimaro/liontech-php-sdk
More information about nokimaro/liontech-php-sdk
Files in nokimaro/liontech-php-sdk
Package liontech-php-sdk
Short Description Community-maintained PHP SDK for FusionPayments (formerly LionTech) Payment Gateway
License MIT
Homepage https://github.com/nokimaro/liontech-php-sdk
Informations about the package liontech-php-sdk
LionTech PHP SDK
Community-maintained PHP SDK for the FusionPayments Payment Gateway (formerly LionTech). This SDK provides a type-safe, domain-oriented interface for integrating FusionPayments' payment processing capabilities into your PHP applications.
Note: This is an unofficial, community-maintained library. FusionPayments has no official PHP SDK.
Features
- Complete API Coverage: Orders, Payments, Refunds, Payouts, Tokens, Transfers, Balances
- Type-Safe: Strong typing with PHP 8.3 enums, readonly classes, and typed properties
- PSR Compliant: PSR-4, PSR-7, PSR-17, PSR-18 compatible
- Secure: Webhook signature verification and RSA card encryption
- Token Management: Automatic token refresh support
- Domain-Oriented: Clean API with typed request/response objects instead of raw arrays
- Extensible: Bring your own PSR-18 HTTP client
Requirements
- PHP 8.3 or higher
- PSR-18 HTTP Client implementation (Guzzle recommended)
Installation
If you don't have an HTTP client installed, we recommend Guzzle:
Laravel Integration
If you're using Laravel, there's a dedicated package that wraps this SDK with Laravel-native features (service provider, facade, config file):
See nokimaro/liontech-laravel for installation and usage instructions.
Quick Start
Basic Setup
Create an Order
Process a Payment with Encrypted Card Data
Issue a Refund
Handle Webhooks
Token Refresh
Documentation
Available Clients
Security Utilities
Custom HTTP Client
The SDK uses PSR-18 so any compatible HTTP client works.
Sandbox Environment
Error Handling
The SDK throws typed exceptions for different error scenarios:
Testing
Test Cards
The following test cards are available in the sandbox environment:
| Card Number | Scenario |
|---|---|
5522 0427 0506 6736 |
Payment with 3DS (OTP: 123456) |
4405 6397 0401 5096 |
Payment without 3DS |
Contributing
Please see CONTRIBUTING.md for details.
Security
If you discover a security vulnerability, please review our Security Policy and report it via GitHub Security Advisories. Do not open a public issue.
License
The MIT License (MIT). Please see LICENSE.md for more information.
All versions of liontech-php-sdk with dependencies
php-http/discovery Version ^1.19
psr/http-client Version ^1.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0
phpseclib/phpseclib Version ^3.0