文件名称:Laravel-FCM:Laravel-FCM是易于使用的软件包,可与Laravel和Lumen一起使用,以通过Firebase Cloud Messaging(FCM)发送推送通知
文件大小:73KB
文件格式:ZIP
更新时间:2024-06-12 15:21:28
PHP
Laravel-FCM 介绍 Laravel-FCM是一个易于使用的软件包,可与Laravel和Lumen一起使用,以通过 (FCM)发送推送通知。 目前,它仅支持HTTP协议: 向一个或多个设备发送下游消息 管理组并向组发送消息 发送主题消息 注意:当前不支持XMPP协议。 安装 要在您的项目上获取最新版本的Laravel-FCM,请从“ composer”中获取它: $ composer require brozot/laravel-fcm 或者,您可以将其直接添加到您的composer.json文件中: { " require " : { " brozot/laravel-fcm " : " 1.3.* " } } Laravel 直接在您的应用程序配置文件config / app.php config/app.php注册提供程序: Lar
【文件预览】:
Laravel-FCM-master
----.gitignore(292B)
----src()
--------Message()
--------Response()
--------FCMServiceProvider.php(1KB)
--------Request()
--------FCMManager.php(412B)
--------Facades()
--------Sender()
----.travis.yml(225B)
----LICENSE(1KB)
----doc()
--------LaravelFCM-Sender-FCMSender.md(3KB)
--------LaravelFCM-Message-PayloadDataBuilder.md(1021B)
--------LaravelFCM-Response-DownstreamResponse.md(6KB)
--------LaravelFCM-Message-Topics.md(2KB)
--------LaravelFCM-Message-OptionsBuilder.md(4KB)
--------LaravelFCM-Message-Options.md(594B)
--------LaravelFCM-Response-GroupResponse.md(3KB)
--------LaravelFCM-Sender-FCMGroup.md(2KB)
--------LaravelFCM-Message-PayloadData.md(635B)
--------LaravelFCM-Test-Mocks-MockTopicResponse.md(1KB)
--------LaravelFCM-Response-BaseResponse.md(1KB)
--------LaravelFCM-Response-TopicResponse.md(3KB)
--------LaravelFCM-Message-Exceptions-NoTopicProvidedException.md(223B)
--------LaravelFCM-Response-DownstreamResponseContract.md(2KB)
--------LaravelFCM-Response-Exceptions-ServerResponseException.md(610B)
--------LaravelFCM-Message-OptionsPriorities.md(646B)
--------LaravelFCM-Response-GroupResponseContract.md(721B)
--------Readme.md(2KB)
--------LaravelFCM-Test-Mocks-MockGroupResponse.md(2KB)
--------LaravelFCM-Response-Exceptions-InvalidRequestException.md(497B)
--------LaravelFCM-Message-PayloadNotification.md(713B)
--------LaravelFCM-Response-Exceptions-UnauthorizedRequestException.md(522B)
--------LaravelFCM-Response-TopicResponseContract.md(724B)
--------LaravelFCM-Message-PayloadNotificationBuilder.md(6KB)
--------LaravelFCM-Test-Mocks-MockDownstreamResponse.md(5KB)
--------LaravelFCM-Sender-BaseSender.md(750B)
--------LaravelFCM-Message-Exceptions-InvalidOptionsException.md(220B)
----composer.json(1KB)
----composer.lock(123KB)
----README.md(14KB)
----phpunit.xml(484B)
----tests()
--------mocks()
--------DownstreamResponseTest.php(17KB)
--------FCMTestCase.php(684B)
--------GroupResponseTest.php(2KB)
--------TopicResponseTest.php(2KB)
--------MessageTest.php(4KB)
--------DownstreamTest.php(2KB)
--------TopicsTest.php(4KB)
----config()
--------fcm.php(438B)