定制 daaquan/gmo-coin-php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

daaquan/gmo-coin-php-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require daaquan/gmo-coin-php-sdk

包简介

Laravel wrapper for GMO Coin cryptocurrency and FX APIs

README 文档

README

Laravel wrapper for the GMO Coin APIs. It provides a convenient interface for both the cryptocurrency and FX endpoints.

Features

  • Facades for Crypto and FX APIs
  • Automatic request signing when credentials are configured
  • Compatible with PHP 8.1+ and Laravel 12

Installation

Add the package using composer:

composer require gmo-coin/gmo-coin-php-sdk

Publish the configuration file:

php artisan vendor:publish --tag=config

Set your credentials in .env:

GMO_COIN_CRYPTO_API_KEY=your_crypto_key
GMO_COIN_CRYPTO_API_SECRET=your_crypto_secret
GMO_COIN_FX_API_KEY=your_fx_key
GMO_COIN_FX_API_SECRET=your_fx_secret

Usage

Use the provided facades to call API endpoints.

use GmoCoin\Facades\GmoCoinCrypto;
use GmoCoin\Facades\GmoCoinFx;

$response = GmoCoinCrypto::getStatus();
$ticker   = GmoCoinCrypto::getTicker();
$klines   = GmoCoinCrypto::getKlines('BTC', 'ASK', '1min', '20231028');
$books    = GmoCoinCrypto::getOrderBooks('BTC');
$assets   = GmoCoinCrypto::getAssets();

The client automatically signs requests when API keys are configured.

Development

Run static analysis to keep the codebase healthy:

composer phpstan

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-26