jenky/laravel-push-notification

dev-master 2017-01-26 15:37 UTC

This package is auto-updated.

Last update: 2024-08-29 04:42:53 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 中添加 facade 配置

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

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

php artisan vendor:publish

或者

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

用法

进行中(WIP)