Laravel package
A facade, env-based config, and a webhook route that verifies signatures and fires a Laravel event. Accept 14 coins with the code you already know.
composer require oxialink/oxialink-laravelThen php artisan vendor:publish --tag=oxialink-config and set three .env keys.
use Oxialink\Laravel\Facades\Oxialink;
$invoice = Oxialink::createInvoice([
'amount' => 25,
'fiat_currency' => 'USD',
'coin' => 'USDT_TON',
'external_id' => (string) $order->id,
'callback_url' => route('oxialink.webhook'),
'redirect_url' => route('orders.show', $order),
]);
return redirect()->away($invoice['url']);use Oxialink\Laravel\Events\OxialinkWebhook;
// POST /oxialink/webhook is registered for you,
// CSRF-exempt and signature-verified.
Event::listen(function (OxialinkWebhook $webhook) {
if ($webhook->event === 'payment.completed') {
Order::find($webhook->data['external_id'])
?->markPaid($webhook->data['tx_hash']);
}
});Auto-discovered service provider, publishable config, three .env keys.
POST /oxialink/webhook is registered, CSRF-exempt, and verified before your code runs.
One OxialinkWebhook event for every verified delivery; handle it with a listener.
Pass your model id at creation; webhooks echo it back for a one-line lookup.
Invoices, balances, withdrawals, address validation and Telegram pay buttons.
Crypto is final. Orders complete only after real on-chain confirmation.
Fees are flat and public on the fees page. Not on PHP? There is also a WooCommerce plugin, a WHMCS module and a plain REST API.
FAQ
Install oxialink/oxialink-laravel, publish the config, set your API keys in .env, and create an invoice through the Oxialink facade. The package registers a verified webhook route and fires a Laravel event when the payment settles.
Laravel 9 through 12 on PHP 8.0+. The underlying client is plain PHP, so nothing exotic is required.
14 coins across 6 networks: USDT on TON, Tron, BSC, Solana and Ethereum, USDC, Bitcoin, Ethereum, Litecoin, Dogecoin, Dash, BNB, TRX and Toncoin.
Every delivery is signed with HMAC-SHA256 over the delivery id, timestamp, event name and the exact bytes of the payload. The SDK verifies the signature and rejects stale deliveries before your code runs, so a forged notification can never mark an order paid.
The SDK is free and MIT licensed. Oxialink accounts are free, and a payment costs 0.2% on Premium or 0.5% free, plus one flat per-coin network fee published at oxialink.com/fees.