turbo124/firebase-apns-notification

Laravel 推送通知

dev-master 2017-01-08 05:54 UTC

This package is auto-updated.

Last update: 2024-09-22 14:10:42 UTC


README

######用于发送推送通知的Laravel包。

安装

使用composer安装此包

composer require jenky/laravel-push-notification

或在composer.json中添加以下内容

"jenky/laravel-push-notification": "^1.0"

更新composer后,将ServiceProvider添加到config/app.php中的providers数组

Jenky\LaravelPushNotification\PushNotificationServiceProvider::class,

可选:将此添加到config/app.php中的facades

'PushNotification' => Jenky\LaravelPushNotification\Facades\PushNotification::class,

使用发布命令将包配置复制到本地配置

php artisan vendor:publish

或者

php artisan vendor:publish --provider="Jenky\LaravelPushNotification\PushNotificationServiceProvider"

用法

进行中