Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

notify multiple users laravel

use IlluminateSupportFacadesNotification;

// Get the users
$users = User::where(...)->get();

// Send the notifications
Notification::send($users, new TaskAssigned($task));
 
PREVIOUS NEXT
Tagged: #notify #multiple #users #laravel
ADD COMMENT
Topic
Name
9+7 =