Features
- Added support for VAPID.
- Added dedicated config file.
Upgrading
Install the latest version via composer:
composer require laravel-notification-channels/webpushGenerate the VAPID keys with (required for browser authentication) with:
php artisan webpush:vapidIf 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.