1.0.1 2019-04-26 15:51 UTC

This package is auto-updated.

Last update: 2023-05-27 23:39:37 UTC


Created by mTxServ and Hytale.game. With this SDK, you can consume the official Hytale API in PHP.

Travis (.org)

API Documentation: https://app.swaggerhub.com/apis/sdieunidou/hytale-api/1.0


PHP 5.5 and later

Installation & Usage


To install the bindings via Composer, add the following to composer.json:

composer require hytale-game/hytale-api-sdk-php

Then run composer install

Manual Installation

Download the files and include autoload.php:

require_once(__DIR__ . '/vendor/autoload.php');


To run the unit tests:

composer install

Getting Started

Please follow the installation procedure and then run the following:

require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Swagger\Client\Api\ArticlesApi();

try {
    $result = $apiInstance->getArticles();
} catch (Exception $e) {
    echo 'Exception when calling ArticlesApi->getArticles: ', $e->getMessage(), PHP_EOL;

Documentation for API Endpoints

All URIs are relative to http://hytale.com/api

Class Method HTTP request Description
ArticlesApi getArticleBySlug GET /blog/post/slug/{slug}
ArticlesApi getArticles GET /blog/post/published
ArticlesApi getArticlesOfMonthAndYear GET /blog/post/archive/{year}/{month}/
JobsApi getJobs GET /job/listing

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.