akk7300/pushy
最新稳定版本:v1.0.0
Composer 安装命令:
composer require akk7300/pushy
包简介
laravel notification sending with pushy
README 文档
README
This package allows you to send push notifications using Pushy. It provides a convenient way to integrate Pushy's services into your Laravel applications.
Installation
You can install the package via Composer:
composer require akk7300/pushy
Copy Config
Run php artisan vendor:publish --provider="Akk7300\Pushy\PushyServiceProvider" to publish the pushy.php config file.
Get API Secret Key
Get Authentication Key from https://dashboard.pushy.me/
Configure pushy.php as needed
'api_key' => '{API_SECRET_KEY}'
Usage
use Akk7300\Pushy\Facade\Pushy; Pushy::withTitle('Testing') ->withBody('Testing message') ->withData(['message' => 'This is an message field']) ->sendTo(['pushy-token']);
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
统计信息
- 总下载量: 164
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-08