fof/best-answer
Flarum extension for Q&A-style discussions. Let authors or staff mark a reply as the best answer, highlight it prominently in the thread, and help users find solutions faster. Includes permissions and notifications for selected answers.
Framing correction (important for scoping): fof/best-answer is a Flarum extension, not a Laravel package. It ships as a Composer package of type flarum-extension and hooks into Flarum's extension lifecycle (extend.php, event listeners, migrations, Mithril/ES-module frontend bundle). Flarum does sit on Illuminate components (Eloquent-style query builder, container, event dispatcher), so the code will feel Laravel-adjacent, but it cannot be dropped into a Laravel application and used as a service provider or trait. Treat any "Laravel package" framing in the metadata as a taxonomy artifact.
Architecture fit
best_answer_id FK on discussions (or a boolean/rank on posts), an authorization policy, a domain event, and a notification fan-out.Integration feasibility
composer require fof/best-answer + enable-in-admin flow; there is no application code to write. Configuration is limited to permission toggles and a few settings, which keeps the blast radius small.Technical risk
dependents: 0 is expected — Flarum extensions are consumed by applications, not by other packages. Do not read 0 dependents as abandonment, but do read it as "no downstream pressure to fix regressions."Key questions to resolve before approval
composer.json constraint actually cover it?Stack fit
Migration path
best_answer_id on discussions, nullable FK to posts), one policy (markBestAnswer gated on discussion ownership or moderator role), one controller action, one domain event, one notification, and a "jump to answer" affordance in the thread view. Estimate days, not weeks, for a competent Laravel team. This path removes the Flarum dependency entirely and is likely the better call if Flarum isn't already a platform commitment.Compatibility
composer.json constraints against pinned core; Flarum minor upgrades are usually safe, majors are not.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
extend.php, the event/listener wiring, migration conventions, and the Mithril frontend. That learning cost is paid once per team, not per extension, but it is a real adoption tax.How can I help you explore Laravel packages today?