blomstra/digest

Email digests for your forum users

Installs: 1 259

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 6

Forks: 0

Open Issues: 1

Type:flarum-extension

0.1.0-beta.11.7 2023-12-08 19:57 UTC

README

License Latest Stable Version Total Downloads

A Flarum extension. Email digests for your forum users.

2 frequencies are included by default: daily and weekly. The sending is implemented into the Flarum scheduler, so it's the only thing you need to configure.

You can optionally enable the "Single Digest" feature, which will bundle immediate notifications into a template similar to the digest for users who didn't configure a digest frequency. This feature will group all different notifications sent during a single Flarum request lifecycle together, even if some are processed on an asynchronous queue. If some jobs are asynchronous, all notifications for that request will be held on a queue until all jobs have finished processing so that a single email can be generated for each user.

Installation

Install with composer:

composer require blomstra/digest:"*"

Updating

composer update blomstra/digest
php flarum migrate
php flarum cache:clear

Excluded Blueprints

A list of blueprints are excluded from both the Scheduled and Single Digests. These blueprints will always use the built-in Flarum email template and send immediately in their own email.

The following blueprints are in the excluded list:

  • flarum/suspend: all notifications
  • fof/byobu: all notifications
  • fof/subscribed: post flagged

The excluded list can be customized by developers via the container binding blomstra.digest.excludedBlueprints.

Links