itdev-pro/moneygate-php 问题修复 & 功能扩展

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

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

itdev-pro/moneygate-php

Composer 安装命令:

composer require itdev-pro/moneygate-php

包简介

PHP-SDK library for work with Moneygate API

README 文档

README

social_preview

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

Usage examples available here

Tests

vendor/bin/phpunit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-09-19