Download the PHP package tryhackx/flarum-homepage-blocks without Composer

On this page you can find all versions of the php package tryhackx/flarum-homepage-blocks. 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-homepage-blocks

TryHackX Homepage Blocks

A Flarum extension that adds powerful customisable homepage blocks: random-discussion buttons, tracker information panels, dual statistics (internal database + external OpenTracker), advanced discussion filters, custom links, content-validation overrides, and a reCAPTCHA-protected stats API.

Designed to plug cleanly into a tracker-style Flarum forum. Works hand in hand with the rest of the TryHackX extension family — tryhackx/flarum-topic-rating unlocks rating filters and sorts, tryhackx/flarum-magnet-link unlocks magnet click stats and sorts, fof/discussion-views unlocks view counters / view-based sort.

Note: Recent updates target the 2.x line only. The 1.x branch (Flarum 1.8+) is no longer actively developed — it stays available for legacy installs but won't receive new features.

Screenshots

Mobile view — discussion list rendered with different combinations of TryHackX extensions (thumbnails + ratings + views, thumbnails + views, thumbnails only, ratings only, views only, vanilla Flarum).

TryHackX Homepage Blocks admin panel — section toggles, theme mode, custom filter labels, random-button JSON, tracker info / announce URLs, internal & external (OpenTracker) statistics, custom links JSON, content title / length overrides, reCAPTCHA gating and rate-limit settings.

Desktop discussion list with the full TryHackX stack — thumbnail sliders on the left, star ratings on the right, magnet button next to each topic.

Desktop discussion list — hover state showing the magnet tooltip loading inline (powered by tryhackx/flarum-magnet-link).

Support Development

If you find this extension useful, consider supporting its development:

You can also find the donation option in the extension's admin settings panel.

Features

Requirements

Recommended companions

These aren't strictly required but unlock additional functionality:

Installation

Updating

Configuration

  1. Navigate to the Administration panel.
  2. Find TryHackX Homepage Blocks in the extensions list and enable it.
  3. Click the extension to access the configuration sections:
Section Description
General Section titles, default-collapsed state, hero banner toggle, tag display options.
Random Movies JSON configuration for random-discussion buttons.
Tracker Info Tracker heading, sub-heading, announce URLs.
Tracker Statistics Toggle internal stats, configure external OpenTracker source (native or proxy mode), refresh interval.
Custom Links JSON configuration for custom link buttons.
Content Settings Override title and content length limits.
Security (reCAPTCHA) Optional reCAPTCHA v2 / v3 protection for the stats API.

Random buttons format

Custom links format

API endpoints

Method Path Purpose
GET /api/tryhackx/homepage/random Pick a random discussion from a tag.
GET /api/tryhackx/homepage/stats Forum / tracker statistics. Optionally reCAPTCHA-gated.
GET /api/tryhackx/homepage/points/check User points / rating helper used by the filter bar.

Links

License

MIT License. See LICENSE for details.


All versions of flarum-homepage-blocks with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
flarum/core Version ^2.0.0-rc.1
flarum/tags Version ^2.0.0-rc.1
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 tryhackx/flarum-homepage-blocks contains the following files

Loading the files please wait ...