PHPackages                             linkrobins/html-widget - 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. [Templating &amp; Views](/categories/templating)
4. /
5. linkrobins/html-widget

ActiveFlarum-extension[Templating &amp; Views](/categories/templating)

linkrobins/html-widget
======================

HTML widget for fof/forum-widgets-core

v1.1.1(1w ago)09↑566.7%MITJavaScriptPHP ^8.3

Since May 10Pushed 1w agoCompare

[ Source](https://github.com/linkrobins/html-widget)[ Packagist](https://packagist.org/packages/linkrobins/html-widget)[ RSS](/packages/linkrobins-html-widget/feed)WikiDiscussions main Synced 1w ago

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

Link Robins HTML Widget
=======================

[](#link-robins-html-widget)

A simple HTML widget for [Flarum 2.0](https://flarum.org), built as a widget for [`fof/forum-widgets-core`](https://packagist.org/packages/fof/forum-widgets-core). Same skeleton as [`linkrobins/shoutbox`](https://packagist.org/packages/linkrobins/shoutbox).

What it does
------------

[](#what-it-does)

Adds one configurable HTML widget to the FoF Forum Widgets placement editor. Admin sets:

- **Title** — optional, shown above the body
- **Icon** — FontAwesome class (e.g. `fas fa-bullhorn`)
- **HTML body** — rendered as HTML, sanitised before display

Drag and place it from the FoF Forum Widgets admin page like any other widget.

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

[](#requirements)

- Flarum **2.0** or later
- [`fof/forum-widgets-core`](https://packagist.org/packages/fof/forum-widgets-core) installed and enabled

The HTML sanitiser ([DOMPurify](https://github.com/cure53/DOMPurify)) is bundled into the extension — nothing is fetched from a CDN at runtime.

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

[](#installation)

```
composer require linkrobins/html-widget
php flarum cache:clear

```

In Flarum admin → **Extensions**, find **Link Robins HTML Widget** under the **Forum Widgets** category and enable it. Configure title/icon/body, then go to FoF Forum Widgets settings and place it where you want it.

Security note
-------------

[](#security-note)

The HTML body is passed through [DOMPurify](https://github.com/cure53/DOMPurify) before display, so `` tags, event-handler attributes, `javascript:` URLs, and unsafe elements such as `` are stripped. The body is still admin-only — treat it like any other admin-controlled content.

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

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

Total

3

Last Release

10d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ba4ada28098b217152b5ec67bff43409a54b808d7d038119af6f56715a1c3f9?d=identicon)[linkrobins](/maintainers/linkrobins)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/linkrobins-html-widget/health.svg)

```
[![Health](https://phpackages.com/badges/linkrobins-html-widget/health.svg)](https://phpackages.com/packages/linkrobins-html-widget)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12127.5k](/packages/flarum-lang-russian)[flarum-lang/french

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

1936.5k](/packages/flarum-lang-french)[flarum-lang/german

German language pack for Flarum.

2249.7k](/packages/flarum-lang-german)[extum/flarum-ext-material

Extum Material brings Flarum to the next-level with Material Design!

141.3k](/packages/extum-flarum-ext-material)

PHPackages © 2026

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