LR Referral gives your members personal invite codes. New people enter a code when they sign up and the member who invited them gets the credit. You can also make your forum invite-only.

What it does
- A personal invite code for each member, 8 characters, on a Referrals tab in their profile.
- Three ways to share it: the code itself, a link that fills the code in automatically, or a QR code on screen with a print-ready PNG download.
- Credit where it's due. The referral count shows on the member's profile, and they get a notification (and an optional email) when someone joins with their code.
- Campaign codes. Admin-made codes with a label, an optional expiry date and a use count, each with its own QR code. Good for flyers, newsletters and social posts.
- Invite-only mode. One switch makes a valid code required to register.
- Who gets a code. Limit personal codes to certain groups, a minimum number of posts, a minimum account age, or a whitelist of usernames.
- Fully translatable.





Requirements
- Flarum 2.0 or later, PHP 8.3+
Install
composer require linkrobins/referral
Then enable it under Admin, Extensions.
Source: https://github.com/linkrobins/referral
Packagist: https://packagist.org/packages/linkrobins/referral
Every release is posted below.