PHPackages                             damienjolly/habbo-gamedata - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. damienjolly/habbo-gamedata

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

damienjolly/habbo-gamedata
==========================

Reusable Habbo gamedata domain package for Laravel.

1.1.0(3mo ago)112MITPHPPHP ^8.3

Since Apr 7Pushed 3mo agoCompare

[ Source](https://github.com/DamienJolly/habbo-gamedata)[ Packagist](https://packagist.org/packages/damienjolly/habbo-gamedata)[ RSS](/packages/damienjolly-habbo-gamedata/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

habbo-gamedata
==============

[](#habbo-gamedata)

Reusable Habbo gamedata package for Laravel.

This package stores Habbo gamedata in your database, imports source files using Artisan commands, and serves hashed endpoints for client consumption with long-lived cache headers.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13.x (Illuminate 13.x components)

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

[](#installation)

```
composer require damienjolly/habbo-gamedata
```

The service provider is auto-discovered by Laravel.

Configuration
-------------

[](#configuration)

Publish config (optional):

```
php artisan vendor:publish --tag=habbo-gamedata-config
```

Config file: `config/habbo-gamedata.php`

Default endpoint paths:

- `/gamedata/hashes`
- `/gamedata/external_flash_texts`
- `/gamedata/external_variables`
- `/gamedata/override/external_flash_override_texts`
- `/gamedata/productdata_xml`
- `/gamedata/figuredata`
- `/gamedata/furnidata_xml`

Set `routes.auto_register` to `false` if you want to register routes yourself.

Database Migrations
-------------------

[](#database-migrations)

Migrations are loaded automatically by the package service provider.

Run migrations:

```
php artisan migrate
```

If you want to copy migration files into your app:

```
php artisan vendor:publish --tag=habbo-gamedata-migrations
```

Routes
------

[](#routes)

Routes are loaded automatically when `routes.auto_register = true`.

To publish package routes:

```
php artisan vendor:publish --tag=habbo-gamedata-routes
```

Import Commands
---------------

[](#import-commands)

Each command accepts an optional `path` argument. If omitted, the default path under `storage/app/imports` is used.

- `php artisan gamedata:import-external-texts {path?}`
    - default: `storage/app/imports/external_flash_texts.txt`
- `php artisan gamedata:import-external-variables {path?}`
    - default: `storage/app/imports/external_variables.txt`
- `php artisan gamedata:import-external-override-texts {path?}`
    - default: `storage/app/imports/external_flash_override_texts.txt`
- `php artisan gamedata:import-product-data {path?}`
    - default: `storage/app/imports/productdata.xml`
- `php artisan gamedata:import-figure-data {path?}`
    - default: `storage/app/imports/figuredata.xml`
- `php artisan gamedata:import-furni-data {path?}`
    - default: `storage/app/imports/furnidata.xml`

All import commands clear relevant caches after successful import.

Endpoint Behavior
-----------------

[](#endpoint-behavior)

All data endpoints use hash-based URLs.

- If the requested hash is missing or outdated, the endpoint responds with `302` to the latest hashed URL.
- Current hashed URLs are exposed via `/gamedata/hashes`.
- Responses include:
    - `Cache-Control: public, max-age=31536000, immutable`
    - `ETag: ""`

Content types:

- `external_flash_texts`, `external_variables`, `external_flash_override_texts`: `text/plain; charset=UTF-8`
- `productdata_xml`, `figuredata`, `furnidata_xml`: `application/xml; charset=UTF-8`

Hashes Endpoint
---------------

[](#hashes-endpoint)

`GET /gamedata/hashes` returns:

```
{
  "hashes": [
    { "name": "furnidata", "url": "...", "hash": "..." },
    { "name": "productdata", "url": "...", "hash": "..." },
    { "name": "external_variables", "url": "...", "hash": "..." },
    { "name": "external_texts", "url": "...", "hash": "..." },
    { "name": "external_override_texts", "url": "...", "hash": "..." },
    { "name": "figurepartlist", "url": "...", "hash": "..." }
  ]
}
```

Typical Flow
------------

[](#typical-flow)

1. Import your source files with the Artisan commands.
2. Call `/gamedata/hashes` from your client/bootstrap service.
3. Use returned URLs/hashes to fetch and cache gamedata assets.
4. Re-import data when source files change.

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance80

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

106d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7740939?v=4)[Damien Jolly](/maintainers/DamienJolly)[@DamienJolly](https://github.com/DamienJolly)

---

Top Contributors

[![DamienJolly](https://avatars.githubusercontent.com/u/7740939?v=4)](https://github.com/DamienJolly "DamienJolly (8 commits)")

### Embed Badge

![Health badge](/badges/damienjolly-habbo-gamedata/health.svg)

```
[![Health](https://phpackages.com/badges/damienjolly-habbo-gamedata/health.svg)](https://phpackages.com/packages/damienjolly-habbo-gamedata)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k21](/packages/fleetbase-core-api)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
