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
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-28