PHPackages                             datlechin/flarum-posted-on - 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. datlechin/flarum-posted-on

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

datlechin/flarum-posted-on
==========================

Display the operating system of the who posted the post.

v0.2.1(3y ago)03.8k1[1 PRs](https://github.com/datlechin/flarum-posted-on/pulls)MITPHPCI failing

Since Feb 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/datlechin/flarum-posted-on)[ Packagist](https://packagist.org/packages/datlechin/flarum-posted-on)[ Docs](https://ngoquocdat.com)[ RSS](/packages/datlechin-flarum-posted-on/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (17)Used By (0)

Posted On
=========

[](#posted-on)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/ffeaf6634e580796fa92bca260b70e1e84dfff8de3b7dee27f33c08aa501e2b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461746c656368696e2f666c6172756d2d706f737465642d6f6e2e737667)](https://packagist.org/packages/datlechin/flarum-posted-on) [![Total Downloads](https://camo.githubusercontent.com/1b00922675fe28561e3564195fab8b745bbac0360863e30176ae6ee3a3888b37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461746c656368696e2f666c6172756d2d706f737465642d6f6e2e737667)](https://packagist.org/packages/datlechin/flarum-posted-on)

Show the operating system, browser, and device next to each post. Backed by [matomo/device-detector](https://github.com/matomo-org/device-detector) and User-Agent Client Hints.

[![](https://camo.githubusercontent.com/d894dd614b25be090e7c9e0a4193fefa67bc4eec33abb595f64c9aa9661d1539/68747470733a2f2f692e696d6775722e636f6d2f6572516a7a59442e706e67)](https://camo.githubusercontent.com/d894dd614b25be090e7c9e0a4193fefa67bc4eec33abb595f64c9aa9661d1539/68747470733a2f2f692e696d6775722e636f6d2f6572516a7a59442e706e67)

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

[](#what-it-does)

Each post records who it was authored from. The post header gets a small chip with an OS icon and a one-line label. Hover for a tooltip that splits OS, browser, and device on three lines.

The detection combines two signals:

- **Legacy `User-Agent`** for everything that has historically worked: iOS / iPadOS / Android / Linux versions, browser families, mobile device brands.
- **User-Agent Client Hints** (`Sec-CH-UA-*`) for the things the legacy UA cannot tell us, namely Windows 10 vs Windows 11 (both report `Windows NT 10.0`) and the real macOS version (Apple froze the UA at `10.15.7` since macOS 11).

When Client Hints are not available (Firefox, Safari, Tor, older browsers), the version is dropped rather than guessed. A user on Windows 11 in Firefox will see "Windows", not "Windows 10".

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

[](#installation)

```
composer require datlechin/flarum-posted-on
```

Enable from Admin → Extensions, then run:

```
php flarum migrate
php flarum cache:clear
```

Configuration
-------------

[](#configuration)

Admin → Extensions → Posted On.

SettingDefaultWhat it does`display_mode``os_only`What renders next to the post. `os_only` shows "Windows 11"; `os_browser` shows "Windows 11 · Chrome 121". The full breakdown is always in the tooltip.`skip_guests``false`When on, posts authored by guests get no platform metadata.Each user can also opt out from their own posts being labelled, under their account settings.

Privacy
-------

[](#privacy)

The extension stores a coarse fingerprint of the poster's environment: OS family + version, browser family + version, device type + brand + model. This is derived from the request's User-Agent and Client Hints headers; no IP address is recorded by this extension.

You can:

- Toggle `skip_guests` to ignore guest posts entirely.
- Let users hide their own metadata via the privacy switch in their settings.
- Drop the `posted_on_meta` column or null it out to wipe historical metadata.

Updating from earlier versions
------------------------------

[](#updating-from-earlier-versions)

Posts authored before this version keep their existing `posted_on` string and render unchanged. Only posts created after the upgrade pick up the rich metadata.

The first POST a user makes after install may still miss the platform version: the browser needs to see the `Accept-CH` advertisement once before it starts attaching high-entropy hints. After the first page load the policy is cached and subsequent posts include the version.

Development
-----------

[](#development)

```
composer test:unit
cd js && npm install && npm run build
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/datlechin/flarum-posted-on)
- [GitHub](https://github.com/datlechin/flarum-posted-on)
- [Discuss](https://discuss.flarum.org/d/30067)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance61

Regular maintenance activity

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.9% 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 ~154 days

Recently: every ~365 days

Total

11

Last Release

55d ago

Major Versions

v0.2.1 → v2.0.0-beta.12026-02-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5dca3124d040fb5f1e59100485f3a23e42e4e4b1c6d89c5d4cd3e79d95f574e?d=identicon)[Ngô Quốc Đạt](/maintainers/Ng%C3%B4%20Qu%E1%BB%91c%20%C4%90%E1%BA%A1t)

---

Top Contributors

[![datlechin](https://avatars.githubusercontent.com/u/56961917?v=4)](https://github.com/datlechin "datlechin (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (7 commits)")[![mrasong](https://avatars.githubusercontent.com/u/1849527?v=4)](https://github.com/mrasong "mrasong (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

flarumflarum-extension

### Embed Badge

![Health badge](/badges/datlechin-flarum-posted-on/health.svg)

```
[![Health](https://phpackages.com/badges/datlechin-flarum-posted-on/health.svg)](https://phpackages.com/packages/datlechin-flarum-posted-on)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

Well integrated, advanced private discussions.

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

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

1034.8k4](/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.4k5](/packages/fof-masquerade)[datlechin/flarum-link-preview

Automatically display a rich preview of the link contents.

1817.6k](/packages/datlechin-flarum-link-preview)

PHPackages © 2026

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