cigalpay/cigalpay-php-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cigalpay/cigalpay-php-sdk

最新稳定版本:1.0.0

Composer 安装命令:

composer require cigalpay/cigalpay-php-sdk

包简介

PHP SDK for Cigalpay API Integration

README 文档

README

CigalPay-PHP-SDK is a robust PHP library for integrating the CigalPay cryptocurrency payment gateway. It simplifies handling transactions, creating invoices, fetching payment statuses, and managing crypto payments with a secure and developer-friendly approach.

Features

  • Accept multiple cryptocurrencies including BTC, ETH, LTC, DOGE, DASH, SOL, MATIC and BCH.
  • Real-time payment tracking.
  • Secure API with AES-256 encryption.
  • Easy-to-use PHP SDK with Composer support.

Installation

To install the CigalPay PHP SDK using Composer:

composer require cigalpay/cigalpay-php-sdk

Example Usage

$sdk = new \Cigalpay\CigalpaySDK('https://api.cigalpay.icu', 'your-api-key');
$response = $sdk->createPayment(0.05, 'LTC', 'order123', 'https://callback.url/ipn', 'https://callback.url/invoice');
print_r($response);

Available Methods

  • createPayment(amount, currency, extraId, ipnCallbackUrl, invoiceCallbackUrl)
  • getInvoiceStatus(invoiceId)
  • getPaymentStatus(id)
  • getPaymentsByExtraId(extraId)
  • getActivePayments()

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for improvements.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-10