Alternatively you can use the Illuminate\Notifications\Notifiable trait on the notifiable object “e.g. User” and then call it as follow:

// get any user
$user=User::firstOrCreate(['name'=>'Mahmoud Zalt','email'=>'mail@something.com','phone'=>'0096123456789',]);// call notify, found on the Notifiable trait
$user->notify(newBirthdayReminderNotification($notificationMessage));

Select Channels

To select a notification channel, apiato have the app/Ship/Configs/notification.php config file where you can define the array of supported channels “e.g. SMS, Email, WebPush..”, to be used for all your notifications.

If you wan to override the configuration for some notifications classes, or if you prefer to defined the channels within each notification class itself,
you can override the via function public function via($notifiable) in the notification class and define your channels.

Queueing a Notification

To queue a notification you should use Illuminate\Bus\Queueable and implement Illuminate\Contracts\Queue\ShouldQueue.

Use DB channel

Generally you need to generate the notification migration php artisan notifications:table, then run php artisan migrate,
however just running the migration command will do the job, since Apiato already adds the _create_notifications_table.php in the default migrations files directory app/Ship/Migrations/.