Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cretueusebiu/laravel-web-push-demo
Laravel Web Push Notifications Demo
https://github.com/cretueusebiu/laravel-web-push-demo
laravel php push-api
Last synced: 2 days ago
JSON representation
Laravel Web Push Notifications Demo
- Host: GitHub
- URL: https://github.com/cretueusebiu/laravel-web-push-demo
- Owner: cretueusebiu
- License: mit
- Created: 2016-07-31T20:58:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-08T15:36:45.000Z (almost 4 years ago)
- Last Synced: 2024-12-15T04:07:16.023Z (10 days ago)
- Topics: laravel, php, push-api
- Language: PHP
- Homepage: https://laravel-webpush.cretueusebiu.com
- Size: 1.94 MB
- Stars: 548
- Watchers: 26
- Forks: 137
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Web Push Notifications Demo
> A demo for the Laravel [Web Push](https://github.com/laravel-notification-channels/webpush) notification channel.
![Demo](http://i.imgur.com/3QmEeVl.gif)
## 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](https://pusher.com) 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](https://caniuse.com/#feat=push-api) browser compatibility.
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.