A Laravel Nova tool to send push notifications via OneSignal
naif/nova-push-notification is a Laravel package for a laravel nova tool to send push notifications via onesignal.
It currently has 16 GitHub stars and 6.385 downloads on Packagist (latest version v1.0).
Install it with composer require naif/nova-push-notification.
Discover more Laravel packages by naif
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel Nova tool to send push notifications. Currently supporting just via OneSignal
You can install nova push notifications package in to a Laravel app that uses Nova via composer:
composer require naif/nova-push-notification
Publish the package config file:
php artisan vendor:publish --provider="Naif\NovaPushNotification\ToolServiceProvider"
Configuration will be published at [config/push_notifications.php].
Create an App in OneSignal and get your app id and api key. https://onesignal.com/apps
Add the following keys to your .env and .env.example:
PUSH_APP_ID=
PUSH_API_KEY=
Add the below to the tools function in app/Providers/NovaServiceProvider.php
public function tools()
{
return [
new NovaPushNotification(),
];
}


https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.