Skip to content

Releases: laravel-notification-channels/webpush

5.0.0

06 Sep 07:30
Compare
Choose a tag to compare
  • Laravel 6.0 compatibility
  • PHP 7.2 or greater is required
  • Pass $message to ReportHandler

4.0.0

28 Jul 11:28
763a592
Compare
Choose a tag to compare
  • 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

27 Aug 07:32
cb285b7
Compare
Choose a tag to compare
  • Laravel 5.1+ compatibility
  • Increase endpoint column length

3.0.0

15 Nov 20:49
6e946de
Compare
Choose a tag to compare
  • Removed id and create methods from WebPushMessage.
  • Added badge, dir, image, lang, renotify, requireInteraction, tag, vibrate, data methods on WebPushMessage.

2.0.0

23 Oct 16:33
Compare
Choose a tag to compare
  • Added support for package discovery.
  • Removed compatibility with PHP<7 and upgrade deps.

1.0.0

25 Mar 14:09
Compare
Choose a tag to compare

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

26 Jan 17:23
Compare
Choose a tag to compare
Add Laravel 5.4 compatibility

0.1.1

14 Nov 18:32
Compare
Choose a tag to compare
Fix version

0.1.0

27 Oct 13:03
Compare
Choose a tag to compare
Update README.md

0.0.1

12 Aug 11:06
Compare
Choose a tag to compare
  • experimental release