Skip to content

1.0.0

Compare
Choose a tag to compare
@cretueusebiu cretueusebiu released this 25 Mar 14:09
· 146 commits to master since this release

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.