Laravel package

The crypto payment gateway for Laravel

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-laravel

Then php artisan vendor:publish --tag=oxialink-config and set three .env keys.

Free & MIT licensed14 coins, 6 networksSigned webhooks built in

Create an invoice

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']);

Listen for payments

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']);
    }
});

Everything the integration needs

Install and forget

Auto-discovered service provider, publishable config, three .env keys.

Webhook route included

POST /oxialink/webhook is registered, CSRF-exempt, and verified before your code runs.

Native Laravel events

One OxialinkWebhook event for every verified delivery; handle it with a listener.

external_id passthrough

Pass your model id at creation; webhooks echo it back for a one-line lookup.

Full API via the facade

Invoices, balances, withdrawals, address validation and Telegram pay buttons.

No chargebacks

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

Common questions

First payment in minutes

Free SDK, free account, no KYC to start.

Create a free account