PHPackages                             flagrow/mason - 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. flagrow/mason

Abandoned → [fof/mason](/?search=fof%2Fmason)Flarum-extension[Utility &amp; Helpers](/categories/utility)

flagrow/mason
=============

Add custom fields to discussions

1.2.1(2y ago)202.2k14[3 issues](https://github.com/FriendsOfFlarum/mason/issues)[3 PRs](https://github.com/FriendsOfFlarum/mason/pulls)MITJavaScriptCI failing

Since Oct 5Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/mason)[ Packagist](https://packagist.org/packages/flagrow/mason)[ Fund](https://opencollective.com/fof)[ RSS](/packages/flagrow-mason/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (2)Versions (23)Used By (0)

Mason by FriendsOfFlarum
========================

[](#mason-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/888528851985ce0fee8a4ff21285ca6984de02f7c45902e7ba19a800a18b77e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f6d61736f6e2e737667)](https://packagist.org/packages/fof/mason)

Add custom fields to your discussions. Features:

- Create custom fields with name, icon and description
- Fields can be required or optional
- Fields accept a dropdown selector or user-provided answers
- User answers can be validated with custom Laravel Validator rules
- You can choose the number of columns of the layout
- (experimental) show the tags field as a Mason field

**Note:** due to the way the Flarum discussion composer works, it currently cannot be automatically resized to fit all fields. If you have many fields you will have to manually increase the composer height with the mouse handle.

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

[](#installation)

```
composer require fof/mason
```

Updating
--------

[](#updating)

```
composer require fof/mason
php flarum migrate
php flarum cache:clear
```

Configuration
-------------

[](#configuration)

Once enabled, a new Mason tab will show up in the admin.

### Fields

[](#fields)

Fields can be created, edited and reordered on the page. New fields are immediately visible in the frontend.

If you delete a field, it will be removed from all discussion that used it. Fields use a "soft delete" feature so the data is preserved in the database even if you delete it. You can bring the field and its answers back by editing the database if you need.

### Answers

[](#answers)

Answers are pre-made answers for a field. If you want to keep an answer visible but prevent new discussions from using it, you can change its suggestion state. If the field accepts user values, these will show up as non-suggested answers.

You can rename an answer (either admin or user made) and it will be updated everywhere it's used.

Deleting an answer will **permanently** remove it from all discussion using it. Unlike fields it doesn't use "soft deletes" and as such cannot be recovered.

### Permissions

[](#permissions)

The extension comes with several permissions to choose who can interact with custom fields. Check the Permissions tab to configure them.

Usage
-----

[](#usage)

The custom fields form will display on the discussion composer, on the first post of the discussion and as an option in the discussion edit menu. The layout can be customized via the settings available in the Mason page of the admin panel.

Updating from Flagrow
---------------------

[](#updating-from-flagrow)

This extension replaces [Flagrow Mason](https://packagist.org/packages/flagrow/mason).

**Please backup your data before attempting the update!**

You can upgrade from any of the older versions of the Flagrow extension.

Then upgrade from the old extension to the new one:

```
composer remove flagrow/mason
composer require fof/mason
```

When you enable the new extension, the permissions, settings and the data from Flagrow Mason will be moved to FoF Mason.

Links
-----

[](#links)

- [Flarum Discuss post](https://discuss.flarum.org/d/7028)
- [Source code on GitHub](https://github.com/FriendsOfFlarum/mason)
- [Report an issue](https://github.com/FriendsOfFlarum/mason/issues)
- [Download via Packagist](https://packagist.org/packages/fof/mason)

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

###  Health Score

47

↑

FairBetter than 94% of packages

Maintenance57

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 68.9% 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 ~159 days

Recently: every ~218 days

Total

15

Last Release

913d ago

Major Versions

0.5.1 → 1.0.02021-06-22

### 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 (71 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (7 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (7 commits)")[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (5 commits)")[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (3 commits)")[![rob006](https://avatars.githubusercontent.com/u/5972388?v=4)](https://github.com/rob006 "rob006 (2 commits)")

---

Tags

custom-fieldsflagrowflarum-extensionmasonextensioncustom fieldsflarumdiscussionflagrow

### Embed Badge

![Health badge](/badges/flagrow-mason/health.svg)

```
[![Health](https://phpackages.com/badges/flagrow-mason/health.svg)](https://phpackages.com/packages/flagrow-mason)
```

###  Alternatives

[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)

PHPackages © 2026

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