Adding internal messaging functionality to Filament, allowing users to send messages to each other and view their inbox and outbox.
The Resource is called MessageResource
, but the Model is changed for the Topic
Model.
protected static ?string $model = Topic::class; public static function getEloquentQuery(): Builder{ return Topic::query();}
The table has a default sorting by created_at
in descending order.
Navigation and Model labels are changed.