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
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-10