naif/nova-push-notification
Composer 安装命令:
composer require naif/nova-push-notification
包简介
A Laravel Nova tool to send push notifications via OneSignal
关键字:
README 文档
README
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(), ]; }
Support:
https://www.linkedin.com/in/naif
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 6.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-24

