Download the PHP package datlechin/flarum-posted-on without Composer

On this page you can find all versions of the php package datlechin/flarum-posted-on. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flarum-posted-on

Posted On

License Latest Stable Version Total Downloads

Show the operating system, browser, and device next to each post. Backed by matomo/device-detector and User-Agent Client Hints.

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:

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

Enable from Admin → Extensions, then run:

Configuration

Admin → Extensions → Posted On.

Setting Default What 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

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:

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

Links


All versions of flarum-posted-on with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0.0-beta
matomo/device-detector Version ^6.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package datlechin/flarum-posted-on contains the following files

Loading the files please wait ...