All Projects β†’ SagarMaheshwary β†’ webpush-example

SagarMaheshwary / webpush-example

Licence: MIT license
A basic push notifications app built on Laravel and Vanilla Javascript.

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
Vue
7211 projects

Projects that are alternatives of or similar to webpush-example

Pushkit
All the required components to set up independent web push notifications 🎈
Stars: ✭ 45 (+73.08%)
Mutual labels:  notifications, service-worker, push-notifications
Webpush
webpush, Encryption Utilities for Web Push protocol
Stars: ✭ 308 (+1084.62%)
Mutual labels:  notifications, service-worker, push-notifications
Net Core Push Notifications
Lightweight .NET Core Push Notifications for Android and iOS
Stars: ✭ 105 (+303.85%)
Mutual labels:  notifications, push-notifications
Twittnuker
Android 4.0+ Twitter Client
Stars: ✭ 117 (+350%)
Mutual labels:  notifications, push-notifications
Onesignal Unity Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Stars: ✭ 161 (+519.23%)
Mutual labels:  notifications, push-notifications
Node Gcm
A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
Stars: ✭ 1,286 (+4846.15%)
Mutual labels:  notifications, push-notifications
Pushy
A Java library for sending APNs (iOS/macOS/Safari) push notifications
Stars: ✭ 1,353 (+5103.85%)
Mutual labels:  notifications, push-notifications
Electron Push Receiver
A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
Stars: ✭ 158 (+507.69%)
Mutual labels:  notifications, push-notifications
Notificationpusher
Standalone PHP library for easy devices notifications push.
Stars: ✭ 1,143 (+4296.15%)
Mutual labels:  notifications, push-notifications
Django Webpush
Web Push Notification Package for Django
Stars: ✭ 217 (+734.62%)
Mutual labels:  notifications, push-notifications
Ng2 Notifications
Angular 2 Component for Native Push Notifications [Looking for New Maintainers]
Stars: ✭ 192 (+638.46%)
Mutual labels:  notifications, push-notifications
OneSignal-Codeigniter-Push-Notification
OneSignal is a free push notification service for web and mobile apps. This Codeigniter example makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com/ DEMO - http://ci3onesignal.codefort.ru/
Stars: ✭ 27 (+3.85%)
Mutual labels:  push-notifications, webpush
React Native Onesignal
React Native Library for OneSignal Push Notifications Service
Stars: ✭ 1,270 (+4784.62%)
Mutual labels:  notifications, push-notifications
Web Push Php
Web Push library for PHP
Stars: ✭ 1,224 (+4607.69%)
Mutual labels:  notifications, push-notifications
Onepush
ζΆˆζ―ζŽ¨ι€η”¨OnePushοΌŒε°±ε€ŸδΊ†οΌ
Stars: ✭ 1,401 (+5288.46%)
Mutual labels:  notifications, push-notifications
Push.js
The world's most versatile desktop notifications framework 🌎
Stars: ✭ 8,536 (+32730.77%)
Mutual labels:  notifications, push-notifications
Push Receiver
A library to subscribe to GCM/FCM and receive notifications within a node process.
Stars: ✭ 125 (+380.77%)
Mutual labels:  notifications, push-notifications
Onesignal Python
Python client for OneSignal push notification service
Stars: ✭ 33 (+26.92%)
Mutual labels:  notifications, push-notifications
andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+219.23%)
Mutual labels:  notifications, push-notifications
Web Push Php Example
An example for sending Web Push notifications, using web-push-php
Stars: ✭ 173 (+565.38%)
Mutual labels:  notifications, push-notifications

Laravel Web Push Example

A basic example of using webpush notifications with laravel and Javascript. Push Notifications are a part of Service Workers and It requires HTTPS unless you are using localhost.

Running this web application

  • make sure you have xampp or wamp installed if you are on windows machine, mamp for mac , and lamp for linux.

  • clone this repository to your local machine or just download the zip.

  • install Composer first, then run this command in your command-line (you should be inside your project directory).

  composer install
  • rename .env.example to .env and configure your database.

  • generate application key.

    php artisan key:generate
  • create tables by migrations.
    php artisan migrate
  • Generate VAPID Keys (this command will place the VAPID keys in your .env file).
    php artisan webpush:vapid
  • Add the VAPID public key to application server key in enable-push.js file located in public/js directory, here's the link to that line

  • Start Laravel dev server.

    php artisan serve
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].