Laravel provides support for sending notifications across a variety of delivery channels, including mail, SMS (via Nexmo), and Slack. These notifications are informational messages that notify users of something that occurred in your application.
Questions tagged [laravel-notification]
143 questions
1
vote
2 answers
Laravel: Is possible send notification with delay, but changing smtp settings dynamically?
I'm developing a Multi Tenant (multiple database) with Laravel v5.7 and I'm successful in sending queue emails.
In some specific situations, I'd like to send on-demand notifications with 'delay', similar to the guide On-Demand Notifications, but…

Magno Alberto
- 628
- 14
- 27
1
vote
1 answer
Laravel Notification is not mailed
i am using the notifications for the first time and got stuck on a problem.
Implemented a "Welcome" Notification via "mail" and "database".
The "database" thing is ok and works well.
The Problem is the "mail" part. When triggering the notification…

Paladin
- 1,637
- 13
- 28
1
vote
3 answers
Notifications for comments not working in laravel
error
enter image description here
I am trying to send notifications of the event when some likes and comment on his post, notifications for comments and likes working
here is my notification class.
i have error in my CommentController if…

bokino12
- 317
- 5
- 13
1
vote
1 answer
Why is there no bcc in sender's email if combine laravel notification & Laravel mailable?
I use Laravel 5.3
My controller like this :
auth()->user()->notify(new ConfirmOrder($invoice));
My notification like this :

samuel toh
- 6,836
- 21
- 71
- 108
1
vote
2 answers
Laravel Database Notifications Values not persisting in Model object when saving in database
So i am trying to save Notifications in the database. But once an object of the model with values is passed to the Notification class, the data is not persisted in it and i get following message
Illuminate \ Database \ QueryException (HY000)
…

noobie-php
- 6,817
- 15
- 54
- 101
1
vote
1 answer
Laravel echo socket.io Vue JS notification
I'm making a Client - Server application and I need to send web push notifications.
I have a Laravel api as a backend with laravel echo server with the broadcaster socket.io and a Vue JS ans a Frontend app.
When I try to send the notification from…

Jhon Lemmon
- 113
- 2
- 15
1
vote
3 answers
Get Database notification id in push notification
I am using database notification along with GCM and APN push notifications to send notifications.
My requirement is to mark the notification read, if a user clicks on the push notification in mobile. But only one notification need to be get updated,…

Jithin
- 2,594
- 1
- 22
- 42
1
vote
0 answers
How to send Friend Request or Like type notification using Laravel
I am working on a social networking site project which was created with the Laravel Framework. I want to know how we can send a "Friend" request, "Like" or "Follow" kind of notification using Laravel.
I am new to this framework, and would…

Mohammed
- 648
- 2
- 12
- 32
1
vote
0 answers
Save notifications into database in laravel 5.3
in laravel 5.3 I use notifications to send mail and save notification to user whenever a successful registration.
I create Register extends Notification have ToEmail, ToArray
public function toMail($notifiable){
return (new MailMessage)
…

deverlop php
- 41
- 1
- 6
0
votes
0 answers
Why I got error sending video with laravel-notification-channels/telegram?
In laravel 8 app with laravel-notification-channels/telegram 2.1 I send a notification selecting an image or video, which are stored
on 'local' disk with spatie/laravel-medialibrary : "^9.12.4" and problem is that I upload ok image, but can not…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
1 answer
Nova notifications
I create notifications
$notification = Laravel\Nova\Notifications\NovaNotification::make()
->message($softsMessage)
->type('info');
But I want to create 2 lines in one notification. How I can do it?
0
votes
2 answers
Can you help me with this ajax update notifications scenario
I'm working with Laravel 9 to develop a forum project, and I have used database notifications for showing users new notifications such as best answer or etc.
The notifications list works correctly but shows the number of new notifications after the…

Pouya
- 114
- 1
- 8
- 36
0
votes
1 answer
Passing custom data to the email template of laravel notification class
We are sending email notifications using laravel notifications and mailable class.
We have the following process :
** We are using laravel 7 **
We dispatch the JOB
dispatch(new JobEntitiesEmail($arr,$email));
JobEntitiesEmail is a job we…
0
votes
1 answer
How can I make the laravel queue retry only failed notification channels instead of retrying the whole notification?
My laravel notification has to send messages to 2 channels. But when one channel failed, both channel was been resending message by queue. Is there anyway to solve this without creating a deferent notification?
I try to read from docs but I didn't…

David Ko
- 147
- 8
0
votes
0 answers
Laravel Livewire database notification doesn't exist yet when broadcast notification received
I've worked on getting database and broadcast notifications to play nice for quite a while, and I've finally got it working and identified an issue I don't know how to solve.
The root cause seems to be that the notification from pusher is getting…

hyphen
- 2,368
- 5
- 28
- 59