Download the PHP package kingscode/laravel-apns-notification-channel without Composer
On this page you can find all versions of the php package kingscode/laravel-apns-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kingscode/laravel-apns-notification-channel
More information about kingscode/laravel-apns-notification-channel
Files in kingscode/laravel-apns-notification-channel
Package laravel-apns-notification-channel
Short Description Apple push notification service (Laravel notification channel).
License Apache-2.0
Informations about the package laravel-apns-notification-channel
Notice
:warning: Abandoned :warning:
This package was written at a time where the offical Laravel Notification Channels didn't support the "new" APNs API.
This package is hereby no longer maintained and you should seriously consider upgrading to laravel-notification-channels/apn
Laravel APNS Notification Channel
Apple push notification service (Laravel notification channel).
Installation
Require the package.
You will need to get a p8
certificate for you application from apple
, before you can use this channel. Configure the path in config/broadcasting.php
.
Usage
In your notifiable
model, make sure to include a routeNotificationForApn()
method which may return a single token or an array of tokens.
And in your Notification
add a toApn
method that returns a Message
.
And make sure your via
method returns the ApnChannel
.
All versions of laravel-apns-notification-channel with dependencies
illuminate/notifications Version ^6.0|^7.0
illuminate/support Version ^6.0|^7.0
edamov/pushok Version ^0.6.4