I’m working with Laravel 8 to make a forum and now I wanted to send a notification to a user who has asked a question whenever someone answered that question. So in order to do that, I added this to the Controller: So the $question is the question id and $asker is the user id of the person who has
Tag: notifications
How to send comment notification message to website admin and post Author using functions.php?
My question is “How to send comment notification to website admin and also post Author?”… In Wordpress default function is “Post author received a comment notification message when user add any …
OneSignal push notification with PHP
I’m using onesignal first time. I have already spent too much time on R&D. But output is almost zero. So here I go with my requirements. I have a website. iOS app of the site and Android app too. Just like whatsapp or facebook. When user logged in any of the above, user should get webpush notification or iOS notification,
Laravel: HTML in notification
I’m using the default notification system (Laravel 5.3) to send an email. I want to add HTML tags in message. This does not work (it displays the strong tags in plain text): I know it’s normal because text is displayed in {{ $text }} in the mail notification template. I tried to use the same system as in csrf_field() helper: