PHPackages                             ianm/flarum-regrole - 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. ianm/flarum-regrole

Abandoned → [the-turk/flarum-regrole](/?search=the-turk%2Fflarum-regrole)ArchivedFlarum-extension

ianm/flarum-regrole
===================

Allow users to assign roles to themselves during registration.

1.0.0(4y ago)22794MITJavaScript

Since Aug 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/imorland/flarum-regrole)[ Packagist](https://packagist.org/packages/ianm/flarum-regrole)[ RSS](/packages/ianm-flarum-regrole/feed)WikiDiscussions master Synced today

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

Registration Roles
==================

[](#registration-roles)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/imorland/flarum-regrole/blob/master/LICENSE) [![Latest Stable Version](https://camo.githubusercontent.com/79be3899e2bcd9a31bc64b0ca7f9bb65a31dad11e5bd33a9bf1e1cdf4eb788ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69616e6d2f666c6172756d2d726567726f6c652e737667)](https://packagist.org/packages/ianm/flarum-regrole) [![Total Downloads](https://camo.githubusercontent.com/4a98551369f1ab0b5a388b80de41e44df42039d01d73851fb9417fb1a1eee10d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69616e6d2f666c6172756d2d726567726f6c652e737667)](https://packagist.org/packages/ianm/flarum-regrole)

This is a temporary maintained fork
-----------------------------------

[](#this-is-a-temporary-maintained-fork)

> I have [volunteered](https://discuss.flarum.org/d/22779-diff-for-flarum/136) to maintain this extension whilst [Kylo / the-turk is away](https://discuss.flarum.org/d/22779-diff-for-flarum/132). My hope is that this fork can be re-integrated in due course.

> ~ IanM - January 2021

Allow users to assign roles to themselves during registration. You can also force existing users.

[![Registration Roles](https://camo.githubusercontent.com/49708f1d478b7015f77f6446102de4d73331229f1293253356caa797a577691b/68747470733a2f2f692e6962622e636f2f4b6846703368512f7265672d526f6c652d5369676e2d55702d4d6f64616c2e706e67)](https://camo.githubusercontent.com/49708f1d478b7015f77f6446102de4d73331229f1293253356caa797a577691b/68747470733a2f2f692e6962622e636f2f4b6846703368512f7265672d526f6c652d5369676e2d55702d4d6f64616c2e706e67)

[Settings Screenshot](https://i.ibb.co/Nx0wZk5/reg-Role-Settings.png)

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

[](#installation)

```
composer require ianm/flarum-regrole:"*"
```

Updating
--------

[](#updating)

```
composer update ianm/flarum-regrole
php flarum cache:clear
```

Usage
-----

[](#usage)

Enable the extension and set allowed roles from the extension's settings modal. Also enable the "Force users to assign at least one role to themselves" option to force guests as well as existing users (admins will be excluded) to have at least one of these allowed roles.

**! Attention:** I've tested this extension as much as I can. However, any malfunction of this extension may cause fatal errors during registration and your users might be unable to use your forum. So please test it yourself (register to your forum and login as existing user if you're forcing them to choose a role) after installation to see if everything is working fine for everyone.

Links
-----

[](#links)

- [Flarum Discuss post](https://discuss.flarum.org/d/24500-registration-roles)
- [Source code on GitHub](https://github.com/imorland/flarum-regrole)
- [Changelog](https://github.com/imorland/flarum-regrole/blob/master/CHANGELOG.md)
- [Report an issue](https://github.com/imorland/flarum-regrole/issues)
- [Download via Packagist](https://packagist.org/packages/ianm/flarum-regrole)

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~75 days

Total

3

Last Release

1802d ago

Major Versions

0.1.1 → 1.0.02021-06-03

### Community

Maintainers

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

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (5 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (2 commits)")[![hasan-ozbey](https://avatars.githubusercontent.com/u/48382593?v=4)](https://github.com/hasan-ozbey "hasan-ozbey (2 commits)")

---

Tags

registrationflarumrole

### Embed Badge

![Health badge](/badges/ianm-flarum-regrole/health.svg)

```
[![Health](https://phpackages.com/badges/ianm-flarum-regrole/health.svg)](https://phpackages.com/packages/ianm-flarum-regrole)
```

###  Alternatives

[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[flarum-lang/russian

Russian language pack for Flarum.

13126.1k](/packages/flarum-lang-russian)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)

PHPackages © 2026

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