Classes

The Conditional extender allows developers to conditionally apply other extenders based on either boolean values or results from callable functions.
Declaring a language pack's code, title and direction in composer.json as "extra.flarum-locale" is deprecated since 2.1 and will be removed in 3.0: use code(), title() and direction() instead.
Some models, in particular Discussion and CommentPost, are intended to support a "private" mode, wherein they aren't visible unless some criteria is met. This can be used to implement anything from private discussions to post approvals.
Model visibility scoping allows us to scope queries based on the current user.
Views are PHP files that use the Laravel Blade syntax for creation of server-side generated HTML.

Interfaces