itdev-pro/moneygate-php
Composer 安装命令:
composer require itdev-pro/moneygate-php
包简介
PHP-SDK library for work with Moneygate API
README 文档
README
PHP SDK to interact with Moneygate API
Moneygate API documentation available here
Developer Documentation
The docs folder provides detailed guides for using this library.
Installation
This library can be found on Packagist. The recommended way to install this is through composer.
$composer require itdev-pro/moneygate-php
Quick start
<?php use Dotenv\Dotenv; use sdk_moneygate\Auth; use sdk_moneygate\Balance; class BalanceExample { public function getBalanceExample(): array { $dotenv = Dotenv::createImmutable(__DIR__); $dotenv->load(); $auth = new Auth($_ENV['RIGHT_PRIVATE_KEY'], $_ENV['TOKEN']); $result = new Balance($auth, true); return $result; } } ?>
Examples
Tests
vendor/bin/phpunit
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-09-19
