PHPackages                             fof/default-user-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. fof/default-user-preferences

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

fof/default-user-preferences
============================

Configure the default user preferences for new users joining your forum

1.2.2(7mo ago)648.5k↓21.9%3[2 PRs](https://github.com/FriendsOfFlarum/default-user-preferences/pulls)5MITPHPCI passing

Since Jan 24Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/default-user-preferences)[ Packagist](https://packagist.org/packages/fof/default-user-preferences)[ Docs](https://friendsofflarum.org)[ Fund](https://opencollective.com/fof/donate)[ RSS](/packages/fof-default-user-preferences/feed)WikiDiscussions 2.x Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (17)Used By (5)

Default User Preferences by FriendsOfFlarum
===========================================

[](#default-user-preferences-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/d4d168426bff27e6cc0f7843468e195db35f850616d5ed2d381b0a5fcf4aa0e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f64656661756c742d757365722d707265666572656e6365732e737667)](https://packagist.org/packages/fof/default-user-preferences)

A [Flarum](http://flarum.org) extension.

Enables the following preferences by default for all new user signing up to your forum, with toggles in the extension settings to modify your chosen defaults.:

- 'Someone replies to one of my posts (email) notification'
- 'Someone mentions me in a post (email) notification'
- 'Follow after reply'

### Extending

[](#extending)

Additional extensions may register defaults on the following way:

In your extension `extend.php`

```
(new \FoF\DefaultUserPreferences\Extend\RegisterUserPreferenceDefault())
    ->register(THE PREFERENCE KEY, THE DEFAULT VALUE),
```

Be sure to include translations in the `fof-default-user-preferences.admin.settings` namespace with the key matching the `PREFERENCE KEY` provided in the extender above. For example:

`fof-default-user-preferences.admin.settings.myCoolKey`

### Installation

[](#installation)

Install manually with composer:

```
composer require fof/default-user-preferences:"*"
```

### Updating

[](#updating)

```
composer update fof/default-user-preferences
```

### Links

[](#links)

- [Packagist](https://packagist.org/packages/fof/default-user-preferences)
- [GitHub](https://github.com/FriendsOfFlarum/default-user-preferences)

An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity36

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~184 days

Recently: every ~25 days

Total

15

Last Release

137d ago

Major Versions

0.4.0 → 1.0.02021-05-20

1.2.1 → 2.0.0-beta.12025-11-06

1.2.2 → 2.0.0-beta.22025-12-31

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

![](https://avatars.githubusercontent.com/u/1630413?v=4)[Gregor Hammerschmidt](/maintainers/GreXXL)[@GreXXL](https://github.com/GreXXL)

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

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (13 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (3 commits)")[![karaok491](https://avatars.githubusercontent.com/u/72854852?v=4)](https://github.com/karaok491 "karaok491 (3 commits)")[![piotr-tokarczyk](https://avatars.githubusercontent.com/u/4035021?v=4)](https://github.com/piotr-tokarczyk "piotr-tokarczyk (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

flarumfriendsofflarumflarum

### Embed Badge

![Health badge](/badges/fof-default-user-preferences/health.svg)

```
[![Health](https://phpackages.com/badges/fof-default-user-preferences/health.svg)](https://phpackages.com/packages/fof-default-user-preferences)
```

###  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)
