Laravel Web Push Notifications Demo
A demo for the Laravel Web Push notification channel.
git clone https://github.com/cretueusebiu/laravel-web-push-demo.git
cd laravel-web-push-demo
cp .env.example .env
composer install
php artisan key:generate
.env
PUSHER_APP_ID
, PUSHER_APP_KEY
, PUSHER_APP_SECRET
from Pusher and BROADCAST_DRIVER=pusher
php artisan migrate
php artisan webpush:vapid
- Generates the VAPID keys required for browser authentication.npm install
and npm run dev
See the Push API browser compatibility.
Please see CHANGELOG for more information what has changed recently.