PHPackages                             gerbenjacobs/habbo-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. gerbenjacobs/habbo-api

ActiveLibrary[API Development](/categories/api)

gerbenjacobs/habbo-api
======================

A PHP wrapper for the (undocumented) Habbo Hotel API

v6.1.0(1y ago)501.7k11[6 issues](https://github.com/gerbenjacobs/HabboAPI/issues)MITPHPPHP &gt;=8.1CI passing

Since Mar 28Pushed 5mo ago8 watchersCompare

[ Source](https://github.com/gerbenjacobs/HabboAPI)[ Packagist](https://packagist.org/packages/gerbenjacobs/habbo-api)[ Patreon](https://www.patreon.com/gerbendev)[ RSS](/packages/gerbenjacobs-habbo-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (30)Used By (0)

[![Build status](https://github.com/gerbenjacobs/HabboAPI/actions/workflows/php.yml/badge.svg)](https://github.com/gerbenjacobs/HabboAPI/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/769e2f3c11c47caf90ea4cbdfebc3a71ef70253dd1f194baa1c1ec4f12dcb053/68747470733a2f2f706f7365722e707567782e6f72672f67657262656e6a61636f62732f686162626f2d6170692f762f737461626c652e737667)](https://packagist.org/packages/gerbenjacobs/habbo-api)

HabboAPI
========

[](#habboapi)

This PHP wrapper library is used to collect data from the *undocumented* Habbo API.
The project requires PHP 8.1 or higher and uses the Composer autoloader and PSR-4 standard.

Older versions for PHP 7.4 are available at [Packagist](https://packagist.org/packages/gerbenjacobs/habbo-api).

See the `example.php` file on how you could use this library.

How to use it
-------------

[](#how-to-use-it)

1. Add [the Composer package](https://packagist.org/packages/gerbenjacobs/habbo-api) to your project by running `composer require gerbenjacobs/habbo-api`
2. On the page you want to use it add `include 'vendor/autoload.php'`
3. Create a HabboParser and construct it with the Habbo domain extension "com", "com.br", "de" etc.
4. Create a HabboAPI instance and inject the HabboParser in the constructor

Usage
-----

[](#usage)

```
