payerurl / binance-and-crypto-checkout
Binance and crypto payment gateway
Package info
github.com/muhitmonsur/binance-and-crypto-checkout
Type:package
pkg:composer/payerurl/binance-and-crypto-checkout
1.0.3
2026-02-23 15:21 UTC
Requires
- php: ^7.0|^8.0
- laravel/framework: ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
README
π Introduction
Binance & Crypto Checkout for Laravel is a secure cryptocurrency payment gateway powered by Payerurl.
It enables merchants to accept crypto payments directly into their wallets without intermediaries.
Customers never leave your Laravel checkout page.
π³ Supported Payment Methods
- Binance QR Code
- Binance Pay
- USDT (TRC20 / ERC20)
- USDC (ERC20)
- Bitcoin (BTC)
- Ethereum (ETH ERC20)
π Key Features
- β 169+ Fiat Currency Support (USD, EUR, GBP, CAD, BDT, etc.)
- β Real-Time Exchange Rate Conversion
- β Direct Wallet Settlement
- β No KYC Required (Basic Accounts)
- β Secure API Verification
- β Instant Order Status Update
- β 100% Free & Open Source
- β Laravel 8, 9, 10, 11 Compatible
- β 24/7 Telegram Support
π Live Demo
π Laravel Binance QR and Crypto payment | Payerurl
π¦ Installation
composer require payerurl/binance-and-crypto-checkout
βοΈPublish Configuration
php artisan vendor:publish --provider="Payerurl\Providers\AppServiceProvider" --tag=config
π Environment Configuration
Add your API credentials to .env:
PAYERURL_PUBLIC_KEY="your_public_key"
PAYERURL_SECRET_KEY="your_secret_key"
Get your API keys from: https://dash.payerurl.com/profile/get-api-credentials
π³ Payment Integration
π Function Signature
payment($invoiceId, $amount, $currency = 'usd', $data)
β Required Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| $invoiceId | string | Yes | Unique Order ID |
| $amount | int | Yes | Amount in smallest unit (e.g., cents) |
| $currency | string | No | Default: usd |
| $data | array | Yes | Customer & URL information |
π¦ $data Array Structure
$data = [ 'first_name' => 'John', 'last_name' => 'Doe', 'email' => 'john@example.com', 'redirect_url' => 'https://yourdomain.com/payment-success', 'notify_url' => 'https://yourdomain.com/api/payment-notify', 'cancel_url' => 'https://yourdomain.com/checkout' ];
π§ͺ Example Controller Integration
use Payerurl\Payerurl; public function pay() { $invoiceId = 'INV-1001'; $amount = 1000; // $10.00 $currency = 'usd'; $data = [ 'first_name' => 'Alice', 'last_name' => 'Smith', 'email' => 'alice@example.com', 'redirect_url' => route('payment.success'), 'notify_url' => route('payment.notify'), 'cancel_url' => route('cart') ]; $response = Payerurl::payment($invoiceId, $amount, $currency, $data); if ($response['status']) { return redirect($response['redirectUrl']); } return back()->with('error', $response['message']); }
π Webhook (Payment Notify) Example
Add route:
Route::post('/payment-notify', [PaymentController::class, 'notify'])->name('payment.notify');
π API Response
β Success
[
'status' => true,
'redirectUrl' => "https://dash.payerurl.com/payment/WP112XXXXX"
]
β Error
[
'status' => false,
'message' => "Something went wrong. Please try again."
]
π Security
- β Secure server-to-server API communication
- β Callback verification
- β API key authentication
- β No sensitive customer data stored
πΌ Screenshots
π§Ύ License
This package is open-sourced software licensed under the MIT License.






