PHP / Laravel SDK

Four SDKs are available: Node.js, Java, PHP and Go, with consistent API parameters, request signing, JSON bodies and callback verification.

Download the ZIP for your language. Each archive includes installation instructions, a client, signing utilities and examples.

PHP / Laravel SDK

For PHP 8.1+ and Laravel 10/11/12, with client, service provider, Facade, config file, and callback verifier.

Highlights
  • Supports Laravel auto-discovery for ServiceProvider and Facade.
  • Supports sending the four OpenAPI requests through UUGateClient or Facade.
  • Includes apiKey verification for pay-in and payout callbacks.
Install
composer config repositories.uugate-sdk path ./uugate-php-laravel-sdk
composer require uugate/openapi-laravel-sdk:*@dev
Quick Example
use UUGate\OpenApi\Facades\UUGate;

$order = UUGate::createPayinOrder([
    'chainCode' => 'TRON',
    'tokenSymbol' => 'USDT',
    'merchantOrderNo' => 'M202604170001',
    'amount' => '100.00',
    'notifyUrl' => 'https://merchant.example.com/api/uugate/payin-notify',
]);