Download the PHP package ewert/neos-webpush without Composer
On this page you can find all versions of the php package ewert/neos-webpush. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ewert/neos-webpush
More information about ewert/neos-webpush
Files in ewert/neos-webpush
Package neos-webpush
Short Description This package provides a backend module to manage and send Web Push Notifications
License MIT
Informations about the package neos-webpush
Neos WebPush
This package provides a backend module to manage and send Web Push Notifications.
Installation
-
Run the following command in your site package
composer require ewert/neos-webpush --no-update
-
Then run
composer update
in your projects root folder. -
Run the following command to migrate your database
./flow doctrine:migrate
- Finally you can add the
WebPushAdministrator
role to the users who need access to the new backend module.
Configuration
Browsers need to verify your identity. A standard called VAPID can authenticate you for all browsers.
You'll need to create and provide a public and private key for your server.
These keys must be safely stored and should not change.
When you open up the Backend Module for the first time, an example configuration like the following with autogenerated keys will be created for you.
Asking the users for Permission
To be able to send some messages to your users, you have to first ask them for permission.
To do that, you just have to call the following JavaScript function:
Screenshots
Overview:
New Message
All versions of neos-webpush with dependencies
minishlink/web-push Version ^5.2
neos/neos Version ~3.0 || ~4.0 || dev-master