Expo push notification channel for laravel projects
gopal-gautam/laravel-expo-notification-channel is a Laravel package for expo push notification channel for laravel projects.
It currently has 0 GitHub stars and 0 downloads on Packagist.
Install it with composer require gopal-gautam/laravel-expo-notification-channel.
Discover more Laravel packages by gopal-gautam
or browse all Laravel packages to compare alternatives.
Last updated
This package will provide the notification channel for expo push notification
composer require gopal-gautam/laravel-expo-notification-channel
php artisan vendor:publish
You can use this in your notifiable model. You will need a column in your database to save device token for expo. You can specify that in expo_notification.php config file All you have to do now is add use ExpoPushNotifiable trait in your model:
use ExpoPushNotifiable;
In your notification add ExpoNotificationChannel
/**
* Get the notification's delivery channels. * * @param mixed $notifiable
* @return array
*/public function via($notifiable)
{
return [ExpoPushNotificationChannel::class];
}