定制 sdieunidou/hytale-api-client 二次开发

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

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

sdieunidou/hytale-api-client

最新稳定版本:v1.0.0

Composer 安装命令:

composer require sdieunidou/hytale-api-client

包简介

A modern PHP client for the Hytale API.

README 文档

README

A modern PHP client library for interacting with the (unofficial) Hytale Web API.

Requirements

  • PHP 8.4 (Compatible with 8.3)
  • Composer

Installation

composer install

Usage

use Hytale\HytaleClient;

$client = new HytaleClient();
$posts = $client->getBlogPosts();

foreach ($posts as $post) {
    echo $post['title'] . "\n";
}

Features Used

  • PHP 8.2+ Readonly Classes: The client is immutable.
  • PHP 8.3 Typed Constants: For robust configuration.
  • Constructor Property Promotion: For cleaner code.

Disclaimer

This library uses unofficial endpoints found on the Hytale website. They may change at any time.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-28