Download the PHP package webtorque/silverstripe-notifications without Composer
On this page you can find all versions of the php package webtorque/silverstripe-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webtorque/silverstripe-notifications
More information about webtorque/silverstripe-notifications
Files in webtorque/silverstripe-notifications
Package silverstripe-notifications
Short Description Simple service provider for sending notification to members over different media.
License MIT
Informations about the package silverstripe-notifications
silverstripe-notifications
A SilverStripe module for handling notifications to user. This can be use to send notifications via various mediums to a Member.
Various notification are handled via a NotificationProvider. e.g.: NotificationEmailProvider
will send email
notifications while NotificationDataObjectProvider
will store notifications in a DataObject for display one the
website frontend.
Requirements
- PHP 5.5 or greater (tested with up to PHP 7.1)
silverstripe/framework:^3.2
silverstripe/cms:^3.2
Optional
giggsey/libphonenumber-for-php:^8.0
Installing libphonenumber-for-php
provides better mobile phone number validation.
Installation
Configuration
Create a YAML config file to configure the NotificationService
. You need to speciify a notification parser and a list
of notification providers.
The built-in NotificationParser
will read notification format information from a NotificationType
data objects.
Notification types can be edited in the CMS. The expectation is that notification types will be predefined in your YML
config. Creation or deletion of notification type are disallowed for all users.
Usage
All versions of silverstripe-notifications with dependencies
silverstripe/framework Version ^3.2.0
silverstripe/cms Version ^3.2.0