turbo124 / firebase-apns-notification
Laravel 推送通知
dev-master
2017-01-08 05:54 UTC
Requires
- illuminate/config: 5.1.*|5.2.*|5.3.*
- illuminate/queue: 5.1.*|5.2.*|5.3.*
- sly/notification-pusher: ^2.2
Requires (Dev)
- phpunit/phpunit: 4.*
Suggests
- illuminate/notifications: Required to use Laravel Notifications (~5.3).
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"
用法
进行中