vipayment/vipayment-php
最新稳定版本:1.0.0
Composer 安装命令:
composer require vipayment/vipayment-php
包简介
VIPayment PHP SDK Library
README 文档
README
Official PHP SDK for VIPayment API integration.
Installation
Install via Composer:
composer require vipayment/vipayment-php
Usage
Initialization
require 'vendor/autoload.php'; use Vipayment\Vipayment; $apiId = 'your_api_id'; $apiKey = 'your_api_key'; $vipayment = new Vipayment($apiId, $apiKey);
Get Profile
$profile = $vipayment->profile(); print_r($profile);
Prepaid Services
Order Prepaid
// Example: Order PLN Token $result = $vipayment->orderPrepaid('PLN5', '3335211111133');
Check Order Status
$status = $vipayment->statusOrderPrepaid('TRX123456789');
Get Services List
// Get all services $services = $vipayment->servicePrepaid(); // Filter by type $services = $vipayment->servicePrepaid('type', 'pulsa-reguler');
Game & Streaming Services
Order Game
// Example: Topup Free Fire $result = $vipayment->orderGame('FF5', '1234567890');
Check Game Order Status
$status = $vipayment->statusOrderGame('TRX987654321');
Get Game Services List
// Get all game services $services = $vipayment->serviceGame(); // Filter by brand $services = $vipayment->serviceGame('mobile-legends', 'available');
License
MIT
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-30