All Projects β†’ Minishlink β†’ Web Push Php Example

Minishlink / Web Push Php Example

Licence: mit
An example for sending Web Push notifications, using web-push-php

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Web Push Php Example

Pushkit
All the required components to set up independent web push notifications 🎈
Stars: ✭ 45 (-73.99%)
Mutual labels:  notifications, push-notifications, pwa
Fuel Price
β›½ Check fuel prices daily in most of the states in India
Stars: ✭ 20 (-88.44%)
Mutual labels:  pwa-apps, push-notifications, pwa
Demo Progressive Web App
πŸŽ‰ A demo for progressive web application with features like offline, push notifications, background sync etc,
Stars: ✭ 798 (+361.27%)
Mutual labels:  notifications, push-notifications, pwa
Ng Toolkit
⭐️ Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more
Stars: ✭ 1,116 (+545.09%)
Mutual labels:  pwa-apps, push-notifications, pwa
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (-47.4%)
Mutual labels:  push-notifications, pwa
Pwatter
Angular Progressive Web App using Workbox
Stars: ✭ 167 (-3.47%)
Mutual labels:  push-notifications, pwa
Absolute
Absolute is a web-based O2O(Online to Offline) platform like Siren-Order for Starbucks. We are focused on creating the platform that is portable, cheaper, easier, decentralized and appless.
Stars: ✭ 96 (-44.51%)
Mutual labels:  pwa-apps, pwa
Ionic Stencil Hn App
Ionic Stencil HackerNews App
Stars: ✭ 105 (-39.31%)
Mutual labels:  pwa-apps, pwa
Ionic Pwa
πŸš€ Build a Progressive Web App with Ionic and Angular. Push Notifications. Deployed to Firebase Hosting. The Complete guide to build your PWA. Service Workers. Lighthouse. Web Manifest
Stars: ✭ 87 (-49.71%)
Mutual labels:  push-notifications, pwa
Pushy
A Java library for sending APNs (iOS/macOS/Safari) push notifications
Stars: ✭ 1,353 (+682.08%)
Mutual labels:  notifications, push-notifications
Onepush
ζΆˆζ―ζŽ¨ι€η”¨OnePushοΌŒε°±ε€ŸδΊ†οΌ
Stars: ✭ 1,401 (+709.83%)
Mutual labels:  notifications, push-notifications
Pwa Weather
Minimal Weather PWA: Offline, Push Notification and Web Payments
Stars: ✭ 89 (-48.55%)
Mutual labels:  notifications, pwa
Node Gcm
A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
Stars: ✭ 1,286 (+643.35%)
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 (-6.94%)
Mutual labels:  notifications, push-notifications
Pwastats
A directory of Progressive Web App case studies.
Stars: ✭ 88 (-49.13%)
Mutual labels:  push-notifications, pwa
Kawachat2 Client
Angular 4 Chat App using Socket.IO 2.0
Stars: ✭ 100 (-42.2%)
Mutual labels:  pwa-apps, pwa
Twittnuker
Android 4.0+ Twitter Client
Stars: ✭ 117 (-32.37%)
Mutual labels:  notifications, push-notifications
Opennote
OpenNote was built to be an open web-based alternative to Microsoft OneNote (T) and EverNote.
Stars: ✭ 1,489 (+760.69%)
Mutual labels:  pwa-apps, pwa
Detoxify App
πŸ“±πŸ™… Generate a fake app to replace any addictive app
Stars: ✭ 122 (-29.48%)
Mutual labels:  pwa-apps, pwa
Angular Pwa Course
Angular PWA Course - Build Progressive Web Applications
Stars: ✭ 142 (-17.92%)
Mutual labels:  pwa-apps, pwa

Web Push example in PHP

Navigating through the commits and files will help you build:

  • on the client
    • a user friendly opt-in push notification button
  • on the server
    • an endpoint for managing your push notification subscriptions
    • an endpoint that triggers push notification thanks to web-push-php

Requirements

  • Chrome or Firefox
  • composer
  • PHP 7.2+
    • gmp
    • mbstring
    • curl
    • openssl

PHP 7.1 is no longer maintained, but you can checkout the v2.x branch. PHP 5.6+ is no longer maintained, but you can checkout the v1.x branch.

Installation

$ composer create-project minishlink/web-push-php-example
$ cd web-push-php-example

You can change the VAPID keys in the keys folder with this guide. Don't forget to update the public key in app.js too.

Usage

$ php -S localhost:8000 router.php

And open localhost:8000.

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].