Learn how to send notifications to Nova users.
NovaNotification
instance to a user’s notify
method. Of course, before getting started, you should ensure that your user model is notifiable.
Nova notifications may be generated via the NovaNotification
class, which provides convenient methods like message
, action
, icon
, and type
. The currently supported notification types include success
, error
, warning
, and info
:
NovaChannel
in the array of channels returned by a notification’s via
method:
openInNewTab
method may be invoked to instruct Nova to open the given URL in a new browser tab:
icon
method.
withoutNotifications
method from your App/Providers/NovaServiceProvider
:
showUnreadCountInNotificationCenter
method from your App/Providers/NovaServiceProvider
: