Home/Laravel
Integrations

Add crypto payments to Laravel

Crypto checkout for your Laravel application.

Laravel apps can take crypto with My Crypto Server through the REST API and signed webhooks. Create a charge from a controller, redirect to the hosted checkout, and confirm the payment in a webhook route, with funds settling straight to your own wallet.

How it connects

REST API from a controller + a signed webhook route.

Integration

How to add crypto to Laravel

01

Deploy My Crypto Server

Push the app to Vercel, attach any Postgres database, add your Alchemy key, and point it at your wallet. You're live in about an hour.

02

Call the API from a controller

POST to the charge endpoint for the order total, redirect to the hosted checkout, and add a webhook route that verifies the signature before marking the order paid.

03

Handle the paid webhook

On a confirmed payment, the server sends a signed webhook to your endpoint. Verify the signature, then mark the order paid and fulfil, idempotently.

04

Go live

Test with the live demo flow, then flip it on. Card options can stay exactly where they are; crypto simply runs alongside them at 0% fees.

Why Laravel developers choose it

0% platform fees

No 2.9% + 30¢ per order. Crypto settles for the cost of gas, paid by the customer, so your integration keeps the full sale price.

Signed webhooks

Every confirmed payment fires an HMAC-SHA256 signed webhook with replay protection, so your app marks orders paid idempotently and never trusts an unverified event.

Non-custodial by design

Payments derive from your own wallet and settle straight to you. There's no processor balance, payout schedule, or account anyone can freeze.

14 networks, one integration

The customer picks their chain and coin at checkout; your code just creates a charge in USD. Native coins plus USDC, USDT, and DAI are all handled server-side.

Laravel integration FAQs

Is there a PHP SDK?

The REST API is language-agnostic and easy to call from Laravel's HTTP client. The typed SDK is TypeScript; PHP integrates over plain HTTP.

How do I verify the webhook signature in PHP?

Compute an HMAC-SHA256 over the raw request body with your webhook secret and compare it to the signature header, then check the timestamp to block replays.

Can I use it with Laravel Cashier flows?

Crypto runs as its own payment path since it's push-based rather than card auto-pull. You create a charge per order and confirm on the webhook.

Ship crypto payments on Laravel.

$699 one-time with code MCSINTRO $999, full source, every v1 update included, 0% platform fees.

Read the docs
Try the live demo