PHPackages                             nokimaro/liontech-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nokimaro/liontech-php-sdk

ActiveLibrary[API Development](/categories/api)

nokimaro/liontech-php-sdk
=========================

Community-maintained PHP SDK for FusionPayments (formerly LionTech) Payment Gateway

v1.2.0(1mo ago)0488↓81.3%[1 PRs](https://github.com/nokimaro/liontech-php-sdk/pulls)1MITPHPPHP ^8.3CI passing

Since Apr 4Pushed 1w agoCompare

[ Source](https://github.com/nokimaro/liontech-php-sdk)[ Packagist](https://packagist.org/packages/nokimaro/liontech-php-sdk)[ Docs](https://github.com/nokimaro/liontech-php-sdk)[ RSS](/packages/nokimaro-liontech-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (42)Versions (12)Used By (1)

LionTech PHP SDK
================

[](#liontech-php-sdk)

[![Latest Version](https://camo.githubusercontent.com/ec451410a1993d8d028df19d06c66f002bbdb0935cc98c18cad7004e514e202c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f6b696d61726f2f6c696f6e746563682d7068702d73646b3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nokimaro/liontech-php-sdk)[![Tests](https://github.com/nokimaro/liontech-php-sdk/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/nokimaro/liontech-php-sdk/actions/workflows/ci.yml)[![Coverage](https://camo.githubusercontent.com/32ce2eedfc5e4de3dda84db73c719bd763ba379dd839b70af301e7cb52ed5553/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d39362532352d3245434337313f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/32ce2eedfc5e4de3dda84db73c719bd763ba379dd839b70af301e7cb52ed5553/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d39362532352d3245434337313f7374796c653d666c61742d737175617265)[![PHP](https://camo.githubusercontent.com/c55b9100c1ce5e9fbbfffdfe87d57ea6bfbae24b094fb12a25236b89411fd99b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332532422d3737374242343f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://camo.githubusercontent.com/c55b9100c1ce5e9fbbfffdfe87d57ea6bfbae24b094fb12a25236b89411fd99b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332532422d3737374242343f7374796c653d666c61742d737175617265266c6f676f3d706870)[![License](https://camo.githubusercontent.com/ac049ef4e7a0b7196b09add6ac2d4f180e544c0ac779c2b2ac2fd2723a209579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75653f7374796c653d666c61742d737175617265)](LICENSE.md)

Community-maintained PHP SDK for the [FusionPayments Payment Gateway](https://fusionpayments.io) (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
--------

[](#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
------------

[](#requirements)

- PHP 8.3 or higher
- PSR-18 HTTP Client implementation (Guzzle recommended)

Installation
------------

[](#installation)

```
composer require nokimaro/liontech-php-sdk
```

If you don't have an HTTP client installed, we recommend Guzzle:

```
composer require guzzlehttp/guzzle
```

Laravel Integration
-------------------

[](#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):

```
composer require nokimaro/liontech-laravel
```

See [nokimaro/liontech-laravel](https://github.com/nokimaro/liontech-laravel) for installation and usage instructions.

Quick Start
-----------

[](#quick-start)

### Basic Setup

[](#basic-setup)

```
