Download the PHP package nokimaro/liontech-laravel without Composer
On this page you can find all versions of the php package nokimaro/liontech-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nokimaro/liontech-laravel
More information about nokimaro/liontech-laravel
Files in nokimaro/liontech-laravel
Package liontech-laravel
Short Description Laravel package for LionTech Payment Gateway SDK
License MIT
Homepage https://github.com/nokimaro/liontech-laravel
Informations about the package liontech-laravel
LionTech Laravel
Laravel integration for the FusionPayments Payment Gateway (formerly LionTech). Wraps nokimaro/liontech-php-sdk with a service provider, facade, and dependency injection support.
Note: This is an unofficial, community-maintained package. LionTech has no official Laravel package.
Features
- Auto-Discovery: Zero manual registration — works out of the box
- Dependency Injection: All API clients registered as singletons in the container
- Facade: Static access to the full SDK via
LionTech::facade - Config Helper: Environment-based configuration with validation
- Eager Provider: All bindings registered upfront for reliable config resolution
- Secure: Webhook signature verification and RSA card encryption via the SDK
Requirements
- PHP 8.3 or higher
- Laravel 11, 12, or 13
Installation
The package registers itself automatically via Laravel's package auto-discovery.
Configuration
Environment Variables
Add these to your .env file:
Publish Configuration (optional)
Usage
Facade
Dependency Injection
Inject the SDK or individual clients directly into your controllers:
Multiple Accounts (Multi-tenant)
The service provider registers a single Client instance from your config — sufficient for most applications. If you need multiple accounts (e.g. each tenant has their own credentials), instantiate the SDK client directly:
This bypasses the container singleton entirely and gives full control over credentials per request or per tenant.
Webhook Verification
Card Encryption
Config Helper
Available Clients
Access via the LionTech facade or dependency injection:
| Method | Description |
|---|---|
LionTech::auth() |
Token refresh and authentication |
LionTech::orders() |
Order management |
LionTech::payments() |
Payment processing |
LionTech::refunds() |
Refund operations |
LionTech::payouts() |
Payout management |
LionTech::tokens() |
Saved payment methods |
LionTech::balances() |
Account balances |
LionTech::transfers() |
Transfer operations |
LionTech::signature() |
Webhook public key retrieval |
LionTech::encryptionKey() |
Card encryption public key retrieval |
The following helpers are registered as singletons and should be used via dependency injection:
| Class | Description |
|---|---|
WebhookSignatureVerifier |
Webhook signature verification |
CardEncryptor |
Card data encryption |
For full API documentation, request/response objects, and examples see nokimaro/liontech-php-sdk.
Testing
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-laravel with dependencies
illuminate/support Version ^11.0|^12.0|^13.0
nokimaro/liontech-php-sdk Version ^1.0