sdieunidou/hytale-api-client

A modern PHP client for the Hytale API.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/sdieunidou/hytale-api-client

v1.0.0 2025-11-28 21:23 UTC

This package is auto-updated.

Last update: 2025-11-28 21:25:19 UTC


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.