Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Liontech Php Sdk Laravel Package

nokimaro/liontech-php-sdk

Community-maintained PHP 8.3+ SDK for FusionPayments (formerly LionTech). Type-safe, domain-oriented API covering orders, payments, refunds, payouts, tokens, transfers, balances; PSR-18 compatible, supports token refresh, webhook verification, and RSA card encryption.

View on GitHub
Deep Wiki
Context7
1.2.0

Changed

  • Default baseUrl switched from https://api.liontechnology.ai to https://api.fusionpayments.io
  • Default secureUrl switched from https://secure.liontechnology.ai to https://secure.fusionpayments.io
  • ClientBuilder::sandbox() now points to https://api.sandbox.fusionpayments.io and https://secure.sandbox.fusionpayments.io
  • README, examples, and composer.json description updated to reflect the FusionPayments brand

Notes

  • Provider rebranded from LionTech to FusionPayments and decommissioned the old domain
  • Fully backward-compatible for callers that pass their own baseUrl/secureUrl
  • Package name (nokimaro/liontech-php-sdk) and namespace (Nokimaro\LionTech) are unchanged in this release
1.1.3

Changed

  • Updated examples/04_webhook_verification.php to use WebhookPayload::fromJson() with typed DTO access
  • Updated README webhook section to showcase typed webhook handling with isSuccessful() / isDeclined() helpers
1.1.2

Added

  • WebhookPayload DTO — parse raw webhook JSON via WebhookPayload::fromJson($json) into typed objects
  • WebhookError value object with hasError() helper for error envelope field
  • WebhookEventType enum for webhook type discrimination
1.1.1

Added

  • error.details[].description values are now appended to exception messages for richer diagnostics (e.g. Invalid input parameters. Payment method is not enabled for this merchant site.)

Fixed

  • PaymentData::sbp() now serializes paymentData.object as {} (empty JSON object) instead of [], fixing Go unmarshal errors on the API gateway

Removed

  • SbpData class — replace PaymentData::sbp(new SbpData(...)) with PaymentData::sbp()
1.1.0

Added

  • EncryptionKeyClient with the correct encryption key endpoint; encryption key retrieval moved out of SignatureClient
  • Json::decodeObject() helper for envelope-wrapped single-object responses

Changed

  • CreateOrderRequest::$description is now a required constructor parameter — the API returns 400 without it despite being marked optional in the OpenAPI spec
  • CreateRefundRequest::$webhookUrl is now a required constructor parameter — the API returns 400 without it; previously the SDK silently omitted it when null

Fixed

  • ApiExceptionMapper now correctly unwraps the {type, object, error} response envelope before reading error details
  • Transport::get() now applies auth headers on GET requests (were silently missing)
1.0.1

Added

  • ResponseStatus value object preserving changedAt and description fields from the API response; previously only value was kept

Changed

  • PaymentResponse::$paymentMethod changed from PaymentData|null to ?string per OpenAPI spec
  • PayoutResponse::$paymentMethod changed from silently-nulling array to ?string per OpenAPI spec
  • isFinal() / isSuccessful() / isDeclined() now delegate through ResponseStatus

Removed

  • php-http/multipart-stream-builder production dependency — was never used; all API endpoints use application/json
1.0.0

Added

  • Complete API coverage: Orders, Payments, Refunds, Payouts, Tokens, Transfers, Balances
  • Domain-oriented typed request/response objects (Requests\*, Responses\*)
  • Http\ApiClient with automatic token refresh on 403 errors
  • ClientBuilder for fluent SDK construction with ->sandbox() shortcut
  • Security\WebhookSignatureVerifier — webhook signature verification (RSA)
  • Security\CardEncryptor — card data encryption (RSA-OAEP-256)
  • Typed exception hierarchy: AuthenticationException, TokenExpiredException, ValidationException, ResourceNotFoundException, ConflictException, RateLimitException, TransportException
  • PHP 8.3+ with readonly classes, enums, and typed properties
  • PSR-4, PSR-7, PSR-17, PSR-18 compatibility — bring your own HTTP client
  • 301 unit tests with 96% line coverage, 100% type coverage
  • PHPStan level max with 0 errors
  • CI workflow covering PHP 8.3, 8.4, 8.5
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity