$title = $data['title']; $message = $data['message']; $url = $data['url']; $user = User::find($data['user_id']); Notification::make() ->success() ->title($title) ->body($message) //->persistent() ->actions([ Action::make('View') ->button() ->url($url, shouldOpenInNewTab: true), ]) ->broadcast($user) //queue:listen or queue:work should be running so that the notification will be displayed under the notifications modal panel (Bell Icon) ->sendToDatabase($user) ->send(); // use instead of database polling event(new DatabaseNotificationsSent($user));