laravel-web-push-demo
laravel-web-push-demo copied to clipboard
Laravel Web Push Notifications Demo
Laravel Web Push Notifications Demo
A demo for the Laravel Web Push notification channel.

Installation
git clone https://github.com/cretueusebiu/laravel-web-push-demo.gitcd laravel-web-push-democp .env.example .envcomposer installphp artisan key:generate- Edit
.env- Set your database connection details
- (optional) Set
PUSHER_APP_ID,PUSHER_APP_KEY,PUSHER_APP_SECRETfrom Pusher andBROADCAST_DRIVER=pusher
php artisan migratephp artisan webpush:vapid- Generates the VAPID keys required for browser authentication.- (optional)
npm installandnpm run dev
Browser Compatibility
See the Push API browser compatibility.
Changelog
Please see CHANGELOG for more information what has changed recently.