PHPackages                             ernestdefoe/hero-builder - 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/hero-builder

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

ernestdefoe/hero-builder
========================

A fully customizable, animated hero banner for your Flarum discussion list — set the title, subtitle, any Font Awesome icon, a colour palette or a cover image, and live community stats. A polished, modern welcome.

00TypeScript

Since Jun 26Pushed todayCompare

[ Source](https://github.com/ernestdefoe/hero-builder)[ Packagist](https://packagist.org/packages/ernestdefoe/hero-builder)[ RSS](/packages/ernestdefoe-hero-builder/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Hero Builder for Flarum
=======================

[](#hero-builder-for-flarum)

**A fully customizable, animated hero banner for your Flarum 2 discussion list — designed live, per page and per tag.**

[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Flarum 2.0+](https://camo.githubusercontent.com/0ec72437f5a7d6512150775722da402bbc7b571d14c1504386baaad13035dc00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466c6172756d2d322e302532422d6f72616e67652e737667)](https://flarum.org)

Give your community a polished, modern welcome. Hero Builder adds a configurable banner to the top of your discussion list — a title, subtitle, any Font Awesome icon, an animated gradient or a cover image, and optional live community stats. Set a different hero for the home page **and for every tag**, all from a live in-admin editor. No core files are touched.

[![The hero banner on a discussion list](images/hero-banner.png)](images/hero-banner.png)

---

Features
--------

[](#features)

- **Title &amp; subtitle** — say hello, set the tone.
- **Any Font Awesome icon** — type the class (`fas fa-meteor`, `fas fa-dragon`, `fab fa-discord` …), not a fixed preset list.
- **Animated two-colour gradient** *or* a **cover image** — pick a palette or drop in a full-bleed background.
- **Optional live stats** — surface real community numbers in the banner.
- **Per-context heroes** — a distinct hero for the **home page** and for **each tag**, so every corner of your forum gets its own welcome.
- **No core files touched** — ships as a clean, self-contained extension.

---

Hero Studio — design it live
----------------------------

[](#hero-studio--design-it-live)

Everything is configured in **Admin → Extensions → Hero Builder**, in the **Hero Studio**: pick a context (the home page or any tag), edit the fields, and watch the banner update in a live preview as you type. No saving-and-refreshing to see how it looks.

[![The Hero Studio live editor](images/hero-studio.png)](images/hero-studio.png)

Tabs across the top let you switch between the home hero and a per-tag hero; the **"Show the hero here"** toggle lets you enable it only where you want it.

---

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

[](#installation)

```
composer require ernestdefoe/hero-builder
php flarum cache:clear
```

Then open **Admin → Extensions → Hero Builder** and start designing.

### Requirements

[](#requirements)

- Flarum **2.0+**
- PHP 8.1+

---

Building from source
--------------------

[](#building-from-source)

```
cd js
npm install
npm run build
```

---

License
-------

[](#license)

[MIT](LICENSE) © Ernest Defoe. Free to use, fork and build on.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![ernestdefoe](https://avatars.githubusercontent.com/u/24905286?v=4)](https://github.com/ernestdefoe "ernestdefoe (6 commits)")

---

Tags

bannerflarumflarum-extensionherophp

### Embed Badge

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

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

PHPackages © 2026

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