PHPackages                             aternos/hangar-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. aternos/hangar-api

ActiveLibrary[API Development](/categories/api)

aternos/hangar-api
==================

PHP Client for the Hangar API. This client is based on the openapi spec.

v5.1.1(1y ago)13.6k↓38.1%MITPHPPHP ^8.1CI passing

Since Apr 19Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/aternosorg/php-hangar-api)[ Packagist](https://packagist.org/packages/aternos/hangar-api)[ Docs](https://github.com/aternosorg/php-hangar-api)[ RSS](/packages/aternos-hangar-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (15)Used By (0)

Aternos/php-hangar-api
======================

[](#aternosphp-hangar-api)

An API client for the Hangar API written in PHP. This client is a combination of code generated by OpenAPI Generator and some wrappers around it to improve the usability.

The generated code can be found in `lib/Api` and `lib/Model`. It is recommended to use the Wrappers in `lib/Client` instead of the generated code.

Installation
------------

[](#installation)

Install the package via composer:

```
composer require aternos/hangar-api
```

Usage
-----

[](#usage)

The main entry point for the API is the `HangarAPIClient` class.

```
