PHPackages                             clarkwinkelmann/flarum-ext-popular-discussion-badge - 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. clarkwinkelmann/flarum-ext-popular-discussion-badge

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

clarkwinkelmann/flarum-ext-popular-discussion-badge
===================================================

Adds a popular badge to discussion based on replies or number of views

1.1.1(3y ago)112.4k↑50%[1 PRs](https://github.com/clarkwinkelmann/flarum-ext-popular-discussion-badge/pulls)MITTypeScript

Since Jun 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/clarkwinkelmann/flarum-ext-popular-discussion-badge)[ Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-popular-discussion-badge)[ RSS](/packages/clarkwinkelmann-flarum-ext-popular-discussion-badge/feed)WikiDiscussions master Synced 1mo ago

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

Popular Discussion Badge
========================

[](#popular-discussion-badge)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/clarkwinkelmann/flarum-ext-popular-discussion-badge/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/46655eac9c691d5f1ae16398c87afaf88371e65ce5a7328688ac092955be1959/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d706f70756c61722d64697363757373696f6e2d62616467652e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-popular-discussion-badge) [![Total Downloads](https://camo.githubusercontent.com/6a14ed657515a2f05c999e0bfff719c11e7b6eabee9aa5d716d681a87429eb8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d706f70756c61722d64697363757373696f6e2d62616467652e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-popular-discussion-badge) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/clarkwinkelmann)

Adds a "popular" badge to discussions based on custom criteria.

The extension can be used in two main "modes":

### Frontend mode

[](#frontend-mode)

This mode verifies the badge conditions client-side against the information the current user can see. The database column is not used at all.

In Frontend mode, the following criteria are available:

- Number of comments
- Number of views

The number of views is not computed by this extension. It requires either `michaelbelgium/flarum-discussion-views` or `flarumite/simple-discussion-views`.

### Scheduler mode

[](#scheduler-mode)

This mode makes use of a CRON job to update the discussion status. [See this thread on how to configure the Flarum scheduler in your crontab](https://discuss.flarum.org/d/24118-setup-the-flarum-scheduler-using-cron)

You can configure the frequency of the update through the extension settings.

In Scheduler mode, the following criteria are available:

- Number of comments
- Timeframe for the number of comments (in n last hours, leave empty for the total)
- Number of views
- Timeframe for the number of views (in n last hours, leave empty for the total)

The number of views is not computed by this extension. It requires either `michaelbelgium/flarum-discussion-views` or `flarumite/simple-discussion-views`.

It's only possible to time-constraint the views of `michaelbelgium/flarum-discussion-views`. Setting a views timeframe while using the Flarumite views extensions will result in an error.

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

[](#installation)

```
composer require clarkwinkelmann/flarum-ext-popular-discussion-badge

```

Support
-------

[](#support)

This extension is under **minimal maintenance**.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can [contact me](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

**Sponsors**: Daniel Alter, Phenomlab, [ctml](https://discuss.flarum.org/u/ctml), [GreXXL](https://www.flarumde.com/)

Links
-----

[](#links)

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-popular-discussion-badge)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-popular-discussion-badge)
- [Discuss](https://discuss.flarum.org/d/24490)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~146 days

Recently: every ~209 days

Total

8

Last Release

1125d ago

Major Versions

0.2.3 → 1.0.02021-06-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (16 commits)")[![iPurpl3x](https://avatars.githubusercontent.com/u/18526076?v=4)](https://github.com/iPurpl3x "iPurpl3x (1 commits)")

---

Tags

flarumpopular

### Embed Badge

![Health badge](/badges/clarkwinkelmann-flarum-ext-popular-discussion-badge/health.svg)

```
[![Health](https://phpackages.com/badges/clarkwinkelmann-flarum-ext-popular-discussion-badge/health.svg)](https://phpackages.com/packages/clarkwinkelmann-flarum-ext-popular-discussion-badge)
```

###  Alternatives

[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[fof/links

Manage Flarum primary navbar menu links

39118.3k2](/packages/fof-links)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)[fof/nightmode

Add a Night Mode option for your users to use on your Flarum forum

3774.5k2](/packages/fof-nightmode)[fof/best-answer

Mark a post as the best answer in a discussion

26135.2k15](/packages/fof-best-answer)

PHPackages © 2026

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