laravel-web-push-demo

by cretueusebiu

cretueusebiu /laravel-web-push-demo

Laravel Web Push Notifications Demo

452 Stars 112 Forks Last release: 6 months ago (3.1.0) MIT License 73 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Laravel Web Push Notifications Demo

A demo for the Laravel Web Push notification channel.

Demo

Installation

  • 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
  • Edit
    .env
    • Set your database connection details
    • (optional) Set
      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.
  • (optional)
    npm install
    and
    npm run dev

Browser Compatibility

See the Push API browser compatibility.

Changelog

Please see CHANGELOG for more information what has changed recently.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.