PushNotification:PHP和Laravel软件包将推送通知发送到Android和IOS设备

时间:2021-02-03 00:24:32
【文件属性】:
文件名称:PushNotification:PHP和Laravel软件包将推送通知发送到Android和IOS设备
文件大小:21KB
文件格式:ZIP
更新时间:2021-02-03 00:24:32
laravel push-notifications apns gcm fcm 推送通知包 这是一个易于使用的程序包,用于发送推送通知。 可用的推送服务提供商: GCM 流式细胞仪 APN 安装 Laravel 5.8以下版本 在控制台中输入: composer require "edujugon/push-notification:^v3.0.0" Laravel 5.8 / 6及更高版本 在控制台中输入: composer require edujugon/push-notification 包裹将自动注册其服务提供商。 将程序包的配置文件发布到应用程序自己的config目录中 php artisan vendor:publish --provider="Edujugon\PushNotification\Providers\PushNotificationServiceProvider" --tag="config" 直接去。 组态 发布配置后,您可以在config / pushnotification.php中找到Push服务配置。 GCM和FCM的默认配置参数为: 优先级=>正常 dry_run =>否 apiKey =>您的ApiKey
【文件预览】:
PushNotification-master
----LICENSE.txt(1KB)
----src()
--------Contracts()
--------Config()
--------PushNotification.php(4KB)
--------Providers()
--------Events()
--------Channels()
--------Gcm.php(4KB)
--------Facades()
--------Fcm.php(2KB)
--------PushService.php(2KB)
--------Apn.php(11KB)
--------Exceptions()
--------Messages()
----readme.md(15KB)
----CHANGELOG.md(715B)
----composer.json(1KB)

网友评论