PHPackages                             ernestdefoe/respawn - 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. ernestdefoe/respawn

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

ernestdefoe/respawn
===================

A gaming-styled theme for Flarum 2: chamfered surfaces, neon accents, mono typography, level badges, and a server-status stats footer.

3.0.2(1mo ago)136MITPHP ^8.3

Since May 20Compare

[ Source](https://github.com/ernestdefoe/respawn)[ Packagist](https://packagist.org/packages/ernestdefoe/respawn)[ Docs](https://github.com/ernestdefoe/respawn)[ RSS](/packages/ernestdefoe-respawn/feed)WikiDiscussions Synced 3w ago

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

Respawn
=======

[](#respawn)

[![Floxum](https://camo.githubusercontent.com/fd65fc46642556f2e056d2256a7a4be4d520f10ef7a954e143269e24d922499a/68747470733a2f2f666c6f78756d2e636f6d2f657874656e73696f6e2f65726e6573746465666f652f7265737061776e2f62616467652f6e616d65)](https://floxum.com/extension/ernestdefoe/respawn)[![Version](https://camo.githubusercontent.com/9c106f83bba91368c3c235824bd6d9856dc4efd8f3028a01a66dfb219e297668/68747470733a2f2f666c6f78756d2e636f6d2f657874656e73696f6e2f65726e6573746465666f652f7265737061776e2f62616467652f686967686573742d76657273696f6e)](https://floxum.com/extension/ernestdefoe/respawn)[![Downloads](https://camo.githubusercontent.com/cfba1c60cd00e1482fed4c9f76ee392a49595bfd2639b2b7ca56011ec60aaafc/68747470733a2f2f666c6f78756d2e636f6d2f657874656e73696f6e2f65726e6573746465666f652f7265737061776e2f62616467652f646f776e6c6f616473)](https://floxum.com/extension/ernestdefoe/respawn)[![Review](https://camo.githubusercontent.com/72dbfa2e784b6ca138fb109143d04c27396c102ccca2c1b323c1b85fa61220ea/68747470733a2f2f666c6f78756d2e636f6d2f657874656e73696f6e2f65726e6573746465666f652f7265737061776e2f62616467652f726576696577)](https://floxum.com/extension/ernestdefoe/respawn)[![License](https://camo.githubusercontent.com/c71cfccff06ae87d7d8e9ef7d0861e5888782f8110375534fea1d6ac8c746b15/68747470733a2f2f666c6f78756d2e636f6d2f657874656e73696f6e2f65726e6573746465666f652f7265737061776e2f62616467652f6c6963656e7365)](https://floxum.com/extension/ernestdefoe/respawn)

A gaming theme for **Flarum 2**: chamfered surfaces, neon accents, mono typography, hex-clipped avatars, hero with blinking cursor, level/XP sidebar widget, and a stats footer.

---

Features
--------

[](#features)

- **Dark + Light mode** — admin-configurable default, per-user toggle in the header (☾ / ☀)
- **Branded hero** — replaces the default `IndexPage` hero with a panel showing an eyebrow line, big mono headline ("Welcome to {forum}"), tagline, and an optional row of tag-shortcut chips
- **Server-status footer** — four chamfered stat cards (Posts · Discussions · Members · Online Now) rendered at the bottom of the index page, cached server-side at 60s
- **Player Card** — sidebar widget for the logged-in user with hex avatar, derived `LVL N · {posts} POSTS`, and a cyan→magenta XP bar
- **Rarity Legend** — sidebar panel mapping the four tag-color tiers (Legendary / Epic / Rare / Common) so newcomers learn the vocabulary
- **Post styling** — chamfered post cards, mono usernames in cyan, post-number pills, accent-bordered blockquotes, mono code blocks
- **Composer + Scrubber** — restyled to match the theme

The theme is a pure CSS/LESS skin layered on top of stock Flarum — no Mithril components replaced or routes added beyond the small components above. Anything that uses Flarum's CSS variables (`--primary-color`, `--secondary-color`, etc.) is remapped, so most extensions skin for free.

---

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

[](#requirements)

- Flarum 2.x
- PHP 8.3+

---

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

[](#installation)

```
composer require ernestdefoe/respawn
php flarum cache:clear
```

Then enable **Respawn** in **Admin → Extensions**.

---

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

[](#configuration)

All settings are in **Admin → Extensions → Respawn**.

SettingDescriptionDefault**Theme Mode**Default colour mode for new visitors (`Dark` or `Light`). Users can toggle with the moon/sun button in the header.`Dark`**Hero Tagline**Subtitle shown under the welcome headline. Leave blank to hide.`Drop in, level up, and join the discussion.`**Hero Eyebrow**Small accent line above the headline.`▸ Player Connected`**Hero Tag Chips**Comma-separated list of tag slugs to feature as quick-jump chips (e.g. `halo, elden-ring, deals`). Leave blank to hide.*(blank)*The hero headline reads from Flarum's standard **Forum Title** setting (Admin → Basics).

---

How the stats are computed
--------------------------

[](#how-the-stats-are-computed)

`ForumStatistics` queries the `posts`, `discussions`, `users`, and `users.last_seen_at` tables and caches each count for 60 seconds. The "Online Now" tile uses a 5-minute activity window matching Flarum's stock indicator. Any DB error renders the affected tile as `—` rather than a misleading `0`.

---

Player Card level formula
-------------------------

[](#player-card-level-formula)

Currently: **`level = floor(posts / 100) + 1`**, progress to next level = `posts % 100`.

It's a deliberately simple linear ramp. If you want a non-linear curve (exponential, custom thresholds, Bronze/Silver/Gold ranks instead of a number), open an issue.

---

Customising
-----------

[](#customising)

The theme exposes its tokens as CSS variables on `:root` (and `[data-respawn="light"]`), so an extension or custom CSS can override any of them without touching Respawn itself:

```
:root {
  --r-accent:  #50ff8a;    /* lime instead of cyan */
  --r-magenta: #ff6b35;    /* orange instead of magenta */
}
```

Every component reads through these variables.

---

Support
-------

[](#support)

Questions, bug reports, and feature requests:

- **Support forum:**
- **Issues:**

---

License
-------

[](#license)

Respawn is released under the [MIT License](LICENSE).

Copyright © ernestdefoe.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance93

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~10 days

Total

4

Last Release

33d ago

Major Versions

2.0.0 → 3.0.02026-05-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/c9978664264055711c21fbcf73c937f758df771d9cb40f6a25370b10123e7abc?d=identicon)[ernestdefoe](/maintainers/ernestdefoe)

---

Tags

neonthemeflarumdarkflarum-extensiongaming

### Embed Badge

![Health badge](/badges/ernestdefoe-respawn/health.svg)

```
[![Health](https://phpackages.com/badges/ernestdefoe-respawn/health.svg)](https://phpackages.com/packages/ernestdefoe-respawn)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[fof/byobu

Well integrated, advanced private discussions.

59120.6k14](/packages/fof-byobu)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1034.8k7](/packages/fof-discussion-language)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)[fof/masquerade

User profile builder extension for your Flarum forum.

2025.4k6](/packages/fof-masquerade)[datlechin/flarum-link-preview

Automatically display a rich preview of the link contents.

1717.8k](/packages/datlechin-flarum-link-preview)

PHPackages © 2026

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