vientodigital / laravel-expo-push-notifications
Laravel Channel for sending push notifications using Expo React Native
Requires
- guzzlehttp/guzzle: ^6.3
- illuminate/notifications: ^5.5
- illuminate/support: ^5.5
This package is auto-updated.
Last update: 2024-11-17 11:29:28 UTC
README
A Laravel Channel for sending push notifications to an Expo React Native App.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
What things you need to install the software and how to install them
Laravel 5.5+
PHP 7+
Installing
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
Example
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
Running the tests
TODO
Deployment
Add additional notes about how to deploy this on a live system
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Victor Yoalli Dominguez - Initial work - VientoDigital
License
This project is licensed under the MIT License - see the LICENSE.md file for details