PHPackages                             ernestdefoe/topic-map - 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/topic-map

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

ernestdefoe/topic-map
=====================

Discourse-style topic map for Flarum 2 — views, likes, links, top participants and read time under the first post, plus a Top Replies panel.

v0.2.0(1mo ago)032↓44.4%MITPHPPHP ^8.2CI passing

Since Jul 5Pushed 1mo agoCompare

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

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

Topic Map
=========

[](#topic-map)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/19cc3f5bc5e080bb3a6f003dec2475751109d46415fd6dc12784cb7c0ebe6289/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65726e6573746465666f652f746f7069632d6d61702e737667)](https://packagist.org/packages/ernestdefoe/topic-map)

A [Flarum 2](https://flarum.org) extension. A Discourse-style **topic map** under the first post of busy discussions: views, likes, outbound links, top participants and estimated read time at a glance — plus a **Top Replies** panel that jumps you straight to the most-liked answers.

[![Topic map with the Top Replies panel open](.github/topic-map.png)](.github/topic-map.png)

Features
--------

[](#features)

- **Stats bar** on the first post once a discussion passes a reply threshold (admin setting): views · likes · links · participants (with avatars) · minutes-to-read.
- **Top Replies** — the most-liked replies with author + excerpt; click one to jump to that post. Works with `flarum/likes` **or** `fof/reactions` (the stat relabels itself "reactions"); hides when neither is installed.
- **Links panel** — the discussion's outbound links grouped by URL, tap the links stat to expand.
- **View counting** built in (guests count, one per browser session, visibility-checked). On forums running `ernestdefoe/bespoke`, Bespoke's view counter is used instead — one source of truth, never double-counted.
- Everything is computed server-side and cached; a 400-post scan cap keeps huge topics cheap.
- Fully translatable.

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

[](#installation)

```
composer require ernestdefoe/topic-map
php flarum migrate
php flarum cache:clear
```

Updating
--------

[](#updating)

```
composer update ernestdefoe/topic-map
php flarum migrate
php flarum cache:clear
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/ernestdefoe/topic-map)
- [GitHub](https://github.com/ernestdefoe/topic-map)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

48d ago

### 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 (4 commits)")

---

Tags

summaryviewsflarumflarum-extensiontopic-map

### Embed Badge

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

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

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

Well integrated, advanced private discussions.

59126.7k16](/packages/fof-byobu)[flarum-lang/french

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

1941.0k](/packages/flarum-lang-french)[fof/polls

 A Flarum extension that adds polls to your discussions

26137.4k9](/packages/fof-polls)[fof/discussion-language

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

1035.6k7](/packages/fof-discussion-language)

PHPackages © 2026

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