PHPackages                             huseyinfiliz/sort-changer - 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. huseyinfiliz/sort-changer

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

huseyinfiliz/sort-changer
=========================

Change default discussion sort order in Flarum

v2(5mo ago)3968↓77.4%MITJavaScriptCI failing

Since Aug 29Pushed 5mo agoCompare

[ Source](https://github.com/huseyinfiliz/sort-changer)[ Packagist](https://packagist.org/packages/huseyinfiliz/sort-changer)[ RSS](/packages/huseyinfiliz-sort-changer/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/33748ad9fee66c4b0291d8154c7d9605e30be4285a31ab4372bb6f131b0b1caf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6875736579696e66696c697a2f736f72742d6368616e6765722e737667)](https://packagist.org/packages/huseyinfiliz/sort-changer) [![Total Downloads](https://camo.githubusercontent.com/cb1fe737c40d9710a676523eb89a3e8f4cf4bd36ec0e8dd2f7bb9da0787f8016/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6875736579696e66696c697a2f736f72742d6368616e6765722e737667)](https://packagist.org/packages/huseyinfiliz/sort-changer)

A Flarum extension that allows you to change the default discussion sort order.

Features
--------

[](#features)

- 🎯 Set default sort order (Latest, Top, Newest, Oldest)
- 🏠 Works only on homepage (not on tag or search pages)
- ⚡ Seamless user experience

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

[](#installation)

Install with composer:

```
composer require huseyinfiliz/sort-changer
```

Updating

```
composer update huseyinfiliz/sort-changer
php flarum cache:clear
```

How it Works
------------

[](#how-it-works)

- Sets the default sort order when users first visit your forum homepage
- Users can still change the sort order manually using the dropdown
- Only applies to the main index page (doesn't affect tag or search pages)

Compatibility
-------------

[](#compatibility)

- **Flarum**: 1.8.1+
- **PHP**: 8.1+
- **MySQL**: 5.6+/8.0.23+ or **MariaDB**: 10.0.5+

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance71

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~143 days

Total

2

Last Release

165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09c355d62c7dcfc040309947946c06155947883a72b6b0c7a354c7d93453fad1?d=identicon)[huseyinfiliz](/maintainers/huseyinfiliz)

---

Top Contributors

[![huseyinfiliz](https://avatars.githubusercontent.com/u/37220000?v=4)](https://github.com/huseyinfiliz "huseyinfiliz (2 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/huseyinfiliz-sort-changer/health.svg)

```
[![Health](https://phpackages.com/badges/huseyinfiliz-sort-changer/health.svg)](https://phpackages.com/packages/huseyinfiliz-sort-changer)
```

###  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/gamification

Upvotes and downvotes for your Flarum community

4066.1k8](/packages/fof-gamification)[fof/best-answer

Mark a post as the best answer in a discussion

25154.0k20](/packages/fof-best-answer)

PHPackages © 2026

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