PHPackages                             linkrobins/post-num - 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. linkrobins/post-num

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

linkrobins/post-num
===================

Adds a #N number to each post in a discussion. Ported to Flarum 2.0 from ziven/flarum-post-number.

v1.1.2(1mo ago)013MITPHP ^8.3

Since May 11Compare

[ Source](https://github.com/linkrobins/post-num)[ Packagist](https://packagist.org/packages/linkrobins/post-num)[ RSS](/packages/linkrobins-post-num/feed)WikiDiscussions Synced 3w ago

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

Link Robins Post Numbers
========================

[](#link-robins-post-numbers)

Adds a `#1`, `#2`, `#3`... number to each post in a discussion. Helpful for referring to specific posts ("see #4 above") and giving readers a sense of where they are in a long thread.

Ported to Flarum 2.0 from [`ziven/flarum-post-number`](https://github.com/Ziiven/flarum-post-number) (MIT).

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

[](#what-it-does)

Extends `CommentPost.headerItems` to append a small `#N` label to each post's header, where N is the post's sequence number within its discussion. Hidden posts are skipped, matching the original extension's behavior.

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

[](#requirements)

- Flarum **2.0** or later
- PHP **8.2** or later

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

[](#installation)

```
composer require linkrobins/post-num
php flarum cache:clear

```

In Flarum admin → **Extensions**, find **Link Robins Post Numbers** and enable it. No configuration needed.

What changed from the 1.x original
----------------------------------

[](#what-changed-from-the-1x-original)

The original extension targeted Flarum 1.x and relied on a webpack/JSX build pipeline. This 2.0 port:

- Targets `flarum/core ^2.0`
- Uses the runtime `extend()` helper from the export registry with string-path lazy module resolution, so no JSX/build step is required
- Uses the canonical 2.0 model accessors (`post.number()`, `post.isHidden()`) with fallback to raw attribute access for resilience
- Renames the CSS class to `LinkRobinsPostNum` to avoid colliding with the original if both are ever installed side-by-side
- Adds tabular-numeric digit alignment so post numbers stay column-aligned in lists

Translation strings follow the same shape — the only difference is the namespace key.

License
-------

[](#license)

MIT. Credit to the original author for the design.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

4

Last Release

50d ago

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

v1.1.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/213107296?v=4)[Link Robins](/maintainers/linkrobins)[@linkrobins](https://github.com/linkrobins)

### Embed Badge

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

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

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

Well integrated, advanced private discussions.

59120.6k14](/packages/fof-byobu)[fof/discussion-language

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

1034.8k7](/packages/fof-discussion-language)[flarum-lang/french

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

1938.7k](/packages/flarum-lang-french)[fof/masquerade

User profile builder extension for your Flarum forum.

2025.4k6](/packages/fof-masquerade)[michaelbelgium/mybb-to-flarum

Migrate a MyBB Forum to a fresh Flarum instance

261.1k](/packages/michaelbelgium-mybb-to-flarum)

PHPackages © 2026

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