PHPackages                             clarkwinkelmann/flarum-ext-reset-preferences - 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. clarkwinkelmann/flarum-ext-reset-preferences

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

clarkwinkelmann/flarum-ext-reset-preferences
============================================

Add a preference reset button to user settings

1.0.0(3y ago)0475MITTypeScript

Since Jun 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/clarkwinkelmann/flarum-ext-reset-preferences)[ Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-reset-preferences)[ RSS](/packages/clarkwinkelmann-flarum-ext-reset-preferences/feed)WikiDiscussions main Synced 1mo ago

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

Reset User Preferences
======================

[](#reset-user-preferences)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/clarkwinkelmann/flarum-ext-reset-preferences/blob/master/LICENSE.txt) [![Latest Stable Version](https://camo.githubusercontent.com/721ee7fa3e049872d9a5c4489a9fd5576f3dac90ce7ff731c26ba41133b83107/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d72657365742d707265666572656e6365732e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-reset-preferences) [![Total Downloads](https://camo.githubusercontent.com/6e8ea66556670399f5f2440bb91ddb13642dbd205bf7537a5a282b89a632e4fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d72657365742d707265666572656e6365732e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-reset-preferences) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/clarkwinkelmann)

This extension allows users to reset all their preferences to the default value at once. This includes all notification settings which use the preference API behind the scenes. Since Flarum doesn't allow doing this natively, a new permission has been added to control access to this feature.

The reset is performed by clicking the new button at the bottom of the preferences page and confirming the prompt that appears.

Most extensions should play nice with this feature but there's a small risk some extensions freak out when the preferences are reset. Flarum doesn't have any preference change event natively, so this extension is not dispatching any either.

This extension could have unexpected side effects if some extensions use the preferences API to store hidden user state as preference. Those hidden values would be reset as well when the feature is used (example: UI language).

The extension will bypass features like [fof/default-user-preferences](https://github.com/FriendsOfFlarum/default-user-preferences) because those extensions rely on hard-coding preference values during registration rather than changing the real underlying default.

Preferences stored as user attributes are not impacted (Byobu Block private discussions, Blomstra Digest frequency, etc).

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

[](#installation)

```
composer require clarkwinkelmann/flarum-ext-reset-preferences

```

Support
-------

[](#support)

This extension is under **minimal maintenance**.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can [contact me](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links
-----

[](#links)

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-reset-preferences)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-reset-preferences)
- [Discuss](https://discuss.flarum.org/d/30987)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (1 commits)")

---

Tags

preferencesflarumreset

### Embed Badge

![Health badge](/badges/clarkwinkelmann-flarum-ext-reset-preferences/health.svg)

```
[![Health](https://phpackages.com/badges/clarkwinkelmann-flarum-ext-reset-preferences/health.svg)](https://phpackages.com/packages/clarkwinkelmann-flarum-ext-reset-preferences)
```

###  Alternatives

[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[fof/links

Manage Flarum primary navbar menu links

39118.3k2](/packages/fof-links)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)[fof/nightmode

Add a Night Mode option for your users to use on your Flarum forum

3774.5k2](/packages/fof-nightmode)[fof/best-answer

Mark a post as the best answer in a discussion

26135.2k15](/packages/fof-best-answer)

PHPackages © 2026

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