Laravel Channel for sending push notifications using Expo React Native
vientodigital/laravel-expo-push-notifications is a Laravel package for laravel channel for sending push notifications using expo react native.
It currently has 4 GitHub stars and 708 downloads on Packagist (latest version 1.0.1).
Install it with composer require vientodigital/laravel-expo-push-notifications.
Discover more Laravel packages by vientodigital
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel Channel for sending push notifications to an Expo React Native App.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
Laravel 5.5+
PHP 7+
A step by step series of examples that tell you how to get a development env running
Say what the step will be
composer require vientodigital/laravel-expo-push-notification
use VientoDigital\LaravelExpoPushNotifications\Channels\ExpoPushNotificationChannel;
use VientoDigital\LaravelExpoPushNotifications\Messages\ExpoPushNotificationMessage;
public function via($notifiable)
{
return ['mail', 'database', ExpoPushNotificationChannel::class];
}
public function toExpo($notifiable)
{
return (new ExpoPushNotificationMessage)
->title("Push Notification Title")
->body("Lorem ipsum....");
}
End with an example of getting some data out of the system or using it for a little demo
TODO
Add additional notes about how to deploy this on a live system
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details