PHPackages                             walsgit/flarum-discussion-cards - 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. walsgit/flarum-discussion-cards

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

walsgit/flarum-discussion-cards
===============================

Output of discussions lists in form of cards

1.3.0(11mo ago)33.2k↓25%2[2 issues](https://github.com/WalsGit/flarum-discussion-cards/issues)MITJavaScript

Since Nov 15Pushed 11mo agoCompare

[ Source](https://github.com/WalsGit/flarum-discussion-cards)[ Packagist](https://packagist.org/packages/walsgit/flarum-discussion-cards)[ Fund](https://walsgit.github.io/Donations/)[ RSS](/packages/walsgit-flarum-discussion-cards/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (12)Used By (0)

Flarum Discussion Cards
-----------------------

[](#flarum-discussion-cards)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/9625b8c4187ea07f484288d36682e3bb5d745db24638f0072334713ede9101af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77616c736769742f666c6172756d2d64697363757373696f6e2d63617264732e737667)](https://packagist.org/packages/walsgit/flarum-discussion-cards) [![Total Downloads](https://camo.githubusercontent.com/dd187c4ed21b8f9a30e100648120387cf7d16bcd3a33e6c69f7254bf038ebde9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77616c736769742f666c6172756d2d64697363757373696f6e2d63617264732e737667)](https://packagist.org/packages/walsgit/flarum-discussion-cards) [![Donate here](https://camo.githubusercontent.com/c2fd425cefaa02eeee538e7d99d1f8ad234a964c3a1325ed4815264f55fab8d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d686572652d253233303038653937)](https://walsgit.github.io/Donations/)

A [Flarum](https://flarum.org) extension (**Fork** of `@Dem13n`'s [discussion-cards](https://github.com/Dem13n/discussion-cards)). Allows you to display discussions in the form of cards, the first image of the first post is used as a preview, if there are no images, a stub is displayed.

This *fork* adds `new features` where you can now set custom cards settings per tag page (different default image along with number and width of primary cards). On the `index page` (all discussions), if a discussion has multiple tags with their own custom image set, the displayed image will be chosen according to these priority rules:

```
1. The image of the the highest positioned child primary tag of the highest positioned parent primary tag
2. The image of the highest positioned parent primary tag
3. The image of the secondary tag with the lowest id
4. The general default image

```

Also it changes how the setting to distinguish between read &amp; unread discussion cards work: now the read discussions are filtred with a grayscale instead of the unread ones. As of `1.2.0` read discussion cards a no longer filtered with a grayscale but have just a lighter title and text.

### 3rd party extension support

[](#3rd-party-extension-support)

- `flarumite/simple-discussion-views` : show discussion view count on cards
- As of version `1.1.0` added support for the `v17development/flarum-blog` extension. If activated, you can set to use the blog's extension images for blog posts' cards and/or their article summary as preview text on the cards.
- As of version `1.2.0` added support for the `shebaoting/repost` extension. If activated, you can set it so that when you click on the card `title` of a discussion starting with a url, it will open that url, and clicking anywhere else on the card will open the discussion as usual.
- As of version `1.3.0` added support for the `michaelbelgium/flarum-discussion-views` extension.

[![Discussion Cards](https://camo.githubusercontent.com/ad8a5bd75f9801b0eedd55c62e554de890790872ca146504063f2fb760b500a9/68747470733a2f2f692e706f7374696d672e63632f4673784e5057596b2f666c6172756d2d6578742d64697363757373696f6e63617264732d312e706e67)](https://camo.githubusercontent.com/ad8a5bd75f9801b0eedd55c62e554de890790872ca146504063f2fb760b500a9/68747470733a2f2f692e706f7374696d672e63632f4673784e5057596b2f666c6172756d2d6578742d64697363757373696f6e63617264732d312e706e67)

### Notes

[](#notes)

- Developed and tested on Flarum 1.8.7 then tested on 1.8.8.
- Thanks to whomever suggested on Discord to use the tags selection component (sorry, we can no longer access the messages on Discord to mention them properly).
- New settings page inspired by `Friends of Flarum`'s [Best Answer](https://github.com/FriendsOfFlarum/best-answer) Extension.
- Additional tags settings based on `@askvortsov`'s [Discussion Templates](https://github.com/askvortsov1/flarum-discussion-templates) Extension.
- Developped this with the help of AI (mainly ChatGPT, Cody &amp; Gemini).

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

[](#installation)

Install with composer:

```
composer require walsgit/flarum-discussion-cards
```

Updating
--------

[](#updating)

```
composer update walsgit/flarum-discussion-cards
php flarum migrate
php flarum cache:clear
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/walsgit/flarum-discussion-cards)
- [GitHub](https://github.com/walsgit/flarum-discussion-cards)
- [Discuss](https://discuss.flarum.org/d/36343-flarum-discussion-cards)
- [Donate](https://walsgit.github.io/Donations/)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.4% 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 ~24 days

Recently: every ~48 days

Total

9

Last Release

345d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b48a7ff9849fd382c6abbd2f357000d805ca686296388ccdd48e621042a33e9?d=identicon)[walsgit](/maintainers/walsgit)

---

Top Contributors

[![WalsGit](https://avatars.githubusercontent.com/u/108340184?v=4)](https://github.com/WalsGit "WalsGit (91 commits)")[![Dem13n](https://avatars.githubusercontent.com/u/52776643?v=4)](https://github.com/Dem13n "Dem13n (44 commits)")

---

Tags

flarumflarum-extensionextensionflarumdiscussioncards

### Embed Badge

![Health badge](/badges/walsgit-flarum-discussion-cards/health.svg)

```
[![Health](https://phpackages.com/badges/walsgit-flarum-discussion-cards/health.svg)](https://phpackages.com/packages/walsgit-flarum-discussion-cards)
```

###  Alternatives

[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

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