Download the PHP package wszdb/flarum-homefilter without Composer

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

Flarum Home Filter

English | 简体中文

An intelligent Flarum extension for filtering homepage discussions by title or tags, with flexible control over the display quantity of specific types of posts.

✨ Features

🎯 Dual Filtering Modes

🔧 Flexible Configuration

🚀 Smart Supplementing

🎲 Advanced Features

📦 Installation

Install via Composer:

Enable the extension in Flarum admin panel after installation.

⚙️ Configuration

Navigate to Flarum Admin → Extensions → Home Filter to configure:

1. Filter Keywords

Enter keywords to filter, separated by commas.

Example:

2. Filter Mode

Choose filtering method:

3. Keyword Posts Display Limit

Set the maximum number of keyword-matched posts to display on homepage.

4. Supplement Strategy (NEW)

Choose how to supplement discussions when homepage needs more posts:

5. Unread Posts Count (NEW)

Set how many recent unread posts to consider for "Unread Random" mode.

6. Homepage Sort Mode (NEW)

Choose how to sort homepage discussions:

💡 Use Cases

Case 1: Limit Advertisement Posts

Effect: Homepage shows maximum 2 posts with "ad", "promotion" or "marketing" in title.

Case 2: Control Specific Categories

Effect: Homepage shows maximum 5 posts tagged with "General" or "Chat".

Case 3: Completely Hide Certain Content

Effect: Completely hide posts with "spam" or "junk" in title.

Case 4: Fresh Content Discovery (NEW)

Effect:

Case 5: Balanced Mix (NEW)

Effect:

🔍 How It Works

  1. Filtering: Check homepage discussions, match based on selected mode (title/tags) and keywords
  2. Limiting: Keep specified number of keyword-matched posts, filter out excess
  3. Hidden Tags Check: Automatically exclude discussions with hidden tags (if flarum/tags is installed)
  4. Supplementing: Auto-query and add non-keyword posts based on selected strategy
    • Default mode: Latest posts in time order
    • Unread Random mode: Random posts from recent X unread posts
    • Fallback: If no unread posts, supplement with read posts or fall back to default mode
  5. Sorting: Apply selected sort mode (time/random) while keeping sticky posts on top
  6. Precision Control: Ensure final display count matches homepage configuration

📊 Performance

Performance Improvements

The new "Unread Posts Count" approach is significantly faster than the old "Days Range" approach:

🤝 Contributing

Issues and Pull Requests are welcome!

📄 License

MIT License

🔗 Links

💬 Support

For questions or suggestions, please submit an Issue on GitHub.


This extension was fully developed using AiPy. Invitation code: XOFS.


All versions of flarum-homefilter with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^1.8.0
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 wszdb/flarum-homefilter contains the following files

Loading the files please wait ...