File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Nova PHP Push Notifications  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Nova PHP Push Notifications
Laravel based Web app to send push notifications
Author: By
Last change:
Date: 1 year ago
Size: 1,281 bytes
 

Contents

Class file image Download

Laravel Nova Push Notifications

A Laravel Nova tool to send push notifications. Currently supporting just via OneSignal

Installation:

You can install nova push notifications package in to a Laravel app that uses Nova via composer:

composer require naif/nova-push-notification

Configuration

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=

Usage

Add the below to the tools function in app/Providers/NovaServiceProvider.php

public function tools()
{
  return [
    new NovaPushNotification(),
  ];
}

Package screenshot

Package screenshot

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License

The MIT License (MIT). Please see License File for more information.


For more information send a message to info at phpclasses dot org.