Notifications


Based upon the awesome Laravel Notifications functionality, Photon CMS can send Notifications in a number of ways.

Table of Contents
  1. Available Notification Channels
  2. Implemented Notifications List
  3. Editing Collision Warning Notification Demo

Available Notification Channels

Currently, there are 4 notification channels available:

  1. mail - through email
  2. broadcast - through Redis for HTTP sockets
  3. database - internally in the database so that the front-end functionality can be applied.
  4. FCM - push notifications

Notifications can be extended or created using these channels.

For mail notifications, you need to set the NOTIFICATION_SERVICE_EMAIL value in .env configuration file. This will tell the application which email address to use to sign emails.

Implemented Notifications List

Following are some currently available notifications in Photon and channels through which they are sent:

NameWays of sendingDescription
EmailChangeConfirmation
  • mail
Sends a confirmation email to change the current email address (sent through the system, while logged in, to the new email address).
EmailChangeSuccess
  • mail
Notifies the user of the successful email change.
InvitationIssued
  • mail
Notifies a future user with an invitation email to register.
NewUserRegistered
  • mail
  • broadcast
  • database
Notifies system administrators that a new user has registered.
RegistrationConfirmation
  • mail
Sends a confirmation email for registration.
RegistrationSuccess
  • mail
Notifies the user about successful registration.
ResetPassword
  • mail
Notifies the user of a successful password change.
UserSubscribed
  • broadcast
  • database
Notifies the user when another user subscribes to dynamic module entry that he is currently subscribed to.
UserUnsubscribed
  • broadcast
  • database
Notifies the user when another user unsubscribes from dynamic module entry that he is currently subscribed to.

Editing Collision Warning Notification Demo

Following video describes one of the implemented notification workflows designed to warn users if they're trying to edit the same entry.

Sign-up to stay informed about news and updates.