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
0
votes
0 answers
Why image uploaded Telegram message is broken in 41 b size?
In laravel app (9.19) with guzzlehttp(7.2 ) and "laravel-notification-channels/telegram (3.0 ) I send image attached to post request like :
$response = Http::attach('document', $fileUrlToUpload, 'document.png')
…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
0 answers
How to make a Notification Channel queueable?
If I create a custom notification channel like here: https://laravel.com/docs/9.x/notifications#custom-channels
I get a "Driver not supported" when I implement the ShouldQueue. What do I need to to, to make a custom Notification Channel queueable?

JanBoehmer
- 395
- 3
- 14
0
votes
1 answer
How can I in $request->user()->notifications() return custom class?
Making in laravel/framework 9.1 admin area with orchid/crud 3.8 and orchid/platform 13.6
custom notifications I have to add orchid AsSource trait for Illuminate\Notifications\DatabaseNotification class - that will give
me possibility to use this…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
1 answer
Laravel queued notification doesn't send email
I have notifications that implement ShouldBroadcast and ShouldQueue (I'm using Redis and laravel-echo-server to broadcast notifications). I have to send mail too. So I have toMail method to send the user an email. But the problem is that the email…

Ashkan
- 47
- 1
- 8
0
votes
0 answers
How To Check If Notification Is Sent Successfully In Laravel
I am unable to find in the documentation of how to handle the notification (what to do if notification is sent successfully or not)
NotificationController
public function AskForLevelUp()
{
$admin = User::where('is_admin', 1)->first();
…

T R A C E ツ
- 31
- 8
0
votes
0 answers
laravel notification: how to mark as read specific data['cartId']?
I have a database notification where type is customerOrderNorification.
in this notificaion I put data cartId:
public function toArray($notifiable)
{
return [
'cartId' => $this->cartItem->id,
];
}
I want to when a seller accept one…

aref razavi
- 413
- 2
- 12
0
votes
1 answer
Laravel notification: Check if the notification is sent
Am Working on laravel 9. I send notification using the notifiable trait and I wish to make some action only if the notification is.
How can I perform this!
thanks,

archille gael
- 70
- 1
- 8
0
votes
1 answer
Laravel notification showing "The registration token is not a valid FCM registration token" when integrated with FCM
I have integrated FCM (Firebase Cloud Messaging) notification with my laravel project.
I have added the method routeNotificationForFcm in the User model.
The notification system is working fine when the firebase device token is specified directly in…

Affar
- 95
- 9
0
votes
1 answer
How to use Laravel 9 Notification Events
I am using laravel 9 queue notification. I want to see if the emails are sent successfully or not.
I have read and executed the laravel documentation notification events
https://laravel.com/docs/9.x/notifications#notification-events
but when I run…

Mohsen
- 260
- 3
- 14
0
votes
0 answers
Why notification event is not triggered in pusher?
When in Laravel 9 app logged user fill ContactUs form I need to send email to site support and show
notification in app for any logged support member. I make it with notification and pusher
In app/Notifications/ContactUsCreatedNotification.php…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
1 answer
Why Notification is queued in redis without implements ShouldQueue?
In laravel 9 app I use queues with redis and for that in notifications which must be queued I wrote :
class CurrencyRatesImportRunNotification extends Notification implements ShouldQueue // IT IS QUEUED
{
use Queueable;
public function…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
2 answers
laravel default email styling is not changing
I'm following this guide to change the default email stlying. I tried to change the stylesheet inside resources/views/mail/html/themes/default.css but it doesn't work. I'm not creating any custom notification for auth emails.
I tried to change the…

Mohsin Ali
- 360
- 2
- 12
0
votes
1 answer
How to log notifications laravel 8 after fired
guys, I create a panel with laravel 8 and create some emails jobs that must send emails to specific users on specific dates it works fine. I created the database with 2 columns user_id (id of the user that email sent to him/er) and type (type of…
0
votes
2 answers
how to paginate read notifications in Laravel
I got an error related to the pagination of read notifications. Thank you for your help.
This is my controller code that gives this error when it runs
public function NotificationsRead(User $user)
{
$no =…

user16426192
- 23
- 6
0
votes
1 answer
Laravel database notifications update count only
I have an application build in Laravel where it sends notifications to users.
for Example when a new Post is created it sends notification to multiple users based on some conditions, the problem I'm facing is when multiple posts are create in small…

Mahmoud Ben Jabir
- 173
- 2
- 9