PHPackages                             linkrobins/badge-labels - 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. linkrobins/badge-labels

ActiveFlarum-extension

linkrobins/badge-labels
=======================

Show each badge's full title beside its icon, move the badges below or beside the avatar, and show the author's post count.

00JavaScriptCI passing

Since Jul 29Pushed todayCompare

[ Source](https://github.com/linkrobins/flarum-badge-labels)[ Packagist](https://packagist.org/packages/linkrobins/badge-labels)[ RSS](/packages/linkrobins-badge-labels/feed)WikiDiscussions main Synced today

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

Link Robins Badge Labels
========================

[](#link-robins-badge-labels)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/3d50f95339fb228ce16c93aaff5f9294ad62d0b98dad2a155231a615ccd9f794/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696e6b726f62696e732f62616467652d6c6162656c732e737667)](https://packagist.org/packages/linkrobins/badge-labels)

A [Flarum](https://flarum.org) extension that gives the badges in a post their full titles, moves them out from behind the avatar, and can show how many posts the author has written.

Out of the box Flarum shows badges as small icons tucked over the corner of the avatar, and their names only appear when you hover over one. This extension writes each badge's name next to its icon, so a member's groups are readable at a glance.

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

[](#what-it-does)

- **Full badge titles.** Each badge becomes one pill: its icon at the rounded left end, its name at the right, in the badge's own colour with readable text on light and dark badges alike.
- **Badge placement.** Put the badges in a column below the avatar (the author column widens to make room), or on the post header line beside the username, where they follow the timestamp.
- **Post count.** Optionally show how many posts the author has written, as a pill of its own in the theme's neutral badge colour, so it is never mistaken for a group.
- **Phones.** Off by default there, since phones show a compact post header. One switch turns it on.

Every badge is covered, not just group badges: the title comes from whatever each badge already tells Flarum its name is, so badges added by other extensions get labelled too. Badges that have no name are left as plain icons.

Settings
--------

[](#settings)

SettingDefaultWhat it doesBadge placementBelow the avatarBelow the avatar, or beside the usernameShow full badge titlesOnThe badge names themselvesShow the author's post countOnThe number of posts under the badgesAuthor column width150pxHow much room the badges get. Only used by the below-the-avatar placement (85 to 400)Apply on phones tooOffShow titles and the post count on phones as wellCompatibility
-------------

[](#compatibility)

Works on **Flarum 1.8** and **Flarum 2.x** from the same release, with no configuration differences between the two.

Nothing is added to your database and nothing is added to what your forum sends to visitors: the post count is the one Flarum already publishes on member profiles, and the extension only decides whether to draw it.

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

[](#installation)

```
composer require linkrobins/badge-labels
```

Then enable the extension in the admin panel.

Updating
--------

[](#updating)

```
composer update linkrobins/badge-labels
php flarum cache:clear
```

Credit
------

[](#credit)

Thanks to [Tutrix](https://discuss.flarum.org/u/Tutrix), who wrote the original CSS this is based on, in reply to [mihzor's request](https://discuss.flarum.org/d/39621-user-badges-below-or-beside-the-avatar-number-of-posts-and-full-badge-titles) for badges below the avatar with full titles and a post count, and who suggested turning it into an extension.

That CSS revealed each badge's name with `content: attr(aria-label)` on a pseudo-element, and had to reserve room for it with a fixed gap. This extension renders the name as a real element instead, which is what lets it work for every badge (including ones whose name Flarum only computes when the badge is drawn) and lets the column size itself to whatever badges a forum actually has, however many and however long their names are, rather than to one guessed width.

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/linkrobins/badge-labels)
- [Source](https://github.com/linkrobins/flarum-badge-labels)
- [Issues](https://github.com/linkrobins/flarum-badge-labels/issues)

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% 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://avatars.githubusercontent.com/u/213107296?v=4)[Link Robins](/maintainers/linkrobins)[@linkrobins](https://github.com/linkrobins)

---

Top Contributors

[![karl-bullock](https://avatars.githubusercontent.com/u/213107296?v=4)](https://github.com/karl-bullock "karl-bullock (5 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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