定制 glowgaia/grabbit 二次开发

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

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

glowgaia/grabbit

最新稳定版本:v4.0.4

Composer 安装命令:

composer require glowgaia/grabbit

包简介

A SaloonPHP-based SDK for Gaia Online's GSI API

README 文档

README

Grabbit is a Saloon-based SDK for Gaia Online. The goal is to provide developers with a more consistent and reliable way of interacting with Gaia's APIs, especially their Game System Interface (GSI).

use GlowGaia\Grabbit\Common\Connectors\GSIConnector;
use GlowGaia\Grabbit\User\DTOs\UserInfo;
use GlowGaia\Grabbit\User\Requests\GetInfo;

$connector = new GSIConnector();
$response = $connector->user()->getInfo('Lanzer');

/** @var UserInfo $user */
$user = $response->dto();

$user->gaia_id; // 3

Structure

Gaia's GSI methods all exist under certain "domains". For the purposes of everyone's sanity, this library maps to those domains. The supported methods can be found by clicking into one of the domain folders and reading the README file.

Supported Domains

License

Please note that this library (as of version 4) is licensed under the Mozilla Public License 2.0. You may want to read Mozilla's FAQ to learn about the license.

Disclaimer

This project is not affiliated in any way with Gaia Online or Gaia Interactive.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2024-03-19