kevinkone/onesignal
Composer 安装命令:
composer require kevinkone/onesignal
包简介
The package allows for the ability to send push notifications to both iOS and Android devices.
README 文档
README
Laravel offers a package called "Laravel Notifications" which allows for the sending of notifications to mobile applications. The package allows for the ability to send push notifications to both iOS and Android devices, as well as sending SMS messages and sending notifications via email. The package also includes support for sending notifications to different channels, such as Firebase Cloud Messaging or OneSignal, and it also includes built-in support for creating custom notification channels. Additionally, it provides an easy to use API for sending notifications to specific users or groups of users.
Use
Welcome to our package! We are excited to have you on board. Before you get started, we wanted to let you know that our package requires two environment variables to be set in your .env file. These variables are :
- APP_API_KEY and
- APP_ID. Without these values set, the package will not work properly.
APP_API_KEY it is you onesignal app api key used for authentication and authorization to access onesignal API. Please make sure to provide a valid API key. APP_ID is used to identify your application and to provide you the correct data.
To set these variables, please open your .env file and add following lines:
- APP_API_KEY=your_api_key
- APP_ID=your_app_id
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-24