nokimaro/liontech-laravel
Laravel integration for the FusionPayments (LionTech) payment gateway. Auto-discovered service provider, static facade, DI-registered API client singletons, publishable env-based config, webhook signature verification, and RSA card encryption. PHP 8.3+, Laravel 11–13.
nokimaro/liontech-php-sdk. Choosing it saves roughly a sprint of glue work — config wiring, singleton registration, webhook signature verification, RSA card encryption — without adding commercial lock-in. The real dependency is the SDK and, beneath that, FusionPayments itself.auth, orders, payments, refunds, payouts, tokens, balances, transfers) maps cleanly to a provider-abstraction layer in your own codebase.CardEncryptor and the RSA public-key flow mean raw PAN/CVV need not transit your application in the clear if you use encryption or hosted payment pages. That is a pricing-driving compliance decision (SAQ scope), not just a technical one — worth confirming with your QSA before committing.Client directly, bypassing the container. This is an explicit, documented escape hatch — useful, but it means the package does not solve multi-tenancy for you. Plan for a tenant-aware client factory in your own code..env-driven config, a sandbox flag, and preloaded public keys make staging/production promotion and local development straightforward, and the published config file gives you a single reviewable surface for credentials.fusionpayments.io) is acceptable to you — but confirm with the vendor that the LionTech endpoints are not being sunset on a timeline that would strand ^1.1 of the SDK.Look elsewhere or build directly when:
For executives: We can add FusionPayments as a payment provider in days rather than weeks. This is a free, MIT-licensed Laravel connector maintained by one developer in the community — the vendor does not publish an official one — so we should adopt it as a time-saver, not as a strategic dependency. The integration is small enough that we can take ownership of it internally if the maintainer steps away. It also helps keep card data out of our systems, which can reduce our compliance scope and therefore our audit cost. The trade-off to accept knowingly is that support comes from us, not a vendor.
For engineering: Drop-in auto-discovery, no manual provider registration. All API clients are container singletons and reachable through the LionTech facade or constructor injection, so it fits existing Laravel idioms without a bespoke service layer. Webhook signature verification and RSA card encryption come wired and injectable (WebhookSignatureVerifier, CardEncryptor), removing the highest-risk custom code from the project. Config is .env-driven with a publishable file and a LionTechConfig::isConfigured() / isSandbox() guard for safe startup. Two caveats to design around: the container holds exactly one client, so per-tenant credentials mean constructing Client manually; and the package is a wrapper only — idempotency, retries, and observability are ours to build. Pin the SDK version, vendor the code if you prefer, and add a smoke test against the sandbox in CI so a maintainer going quiet surfaces as a failing build rather than an incident.
How can I help you explore Laravel packages today?