Notification logging - reads, call answers etc. within the laravel notification system.

Posted 5 months ago by lambooni

What are your ideas on how to implement this best within the laravel notification ecosystem?

We currently send notifications via:

  • Slack
  • Telegram
  • Email
  • Nexmo (voice and SMS)

I would like to generically record these events into the database. Key information we are looking to record is:

  • When was the notification sent.
  • Was it read.
  • Was there any response (i.e. nexmo voice can generate some post requests back to the server for example, "user acknowledge the message", "user listened to but rejected the message".

I could ofcourse just create a notificationLogging model, but before I did this I wanted to see if there was anything that already existed? The Laravel database channel for example, but this seems more built for in-app notifications.

Please sign in or create an account to participate in this conversation.