Releases: laravel-notification-channels/webpush
Releases · laravel-notification-channels/webpush
5.0.0
- Laravel 6.0 compatibility
- PHP 7.2 or greater is required
- Pass
$message
to ReportHandler
4.0.0
- Upgraded to minishlink/web-push to v5
- Added
WebPushMessage::options()
- Added ReportHandler to handle notification sent reports.
- Added options for customizing the model, table and connection.
- Added polymorphic relation.
HasPushSubscriptions
can now be used on any model.
3.0.1
- Laravel 5.1+ compatibility
- Increase endpoint column length
3.0.0
- Removed
id
andcreate
methods fromWebPushMessage
. - Added
badge
,dir
,image
,lang
,renotify
,requireInteraction
,tag
,vibrate
,data
methods onWebPushMessage
.
2.0.0
- Added support for package discovery.
- Removed compatibility with PHP<7 and upgrade deps.
1.0.0
Features
- Added support for VAPID.
- Added dedicated config file.
Upgrading
Install the latest version via composer:
composer require laravel-notification-channels/webpush
Generate the VAPID keys with (required for browser authentication) with:
php artisan webpush:vapid
If you still want support Google Cloud Messaging set the GCM_KEY
and GCM_SENDER_ID
in your .env
file. Previously these keys where stored in config/services.php
.
For a complete implementation with a Service Worker check this demo.
0.2.0
Add Laravel 5.4 compatibility
0.1.1
Fix version
0.1.0
Update README.md
0.0.1
- experimental release