Download the PHP package waynebrummer/mail-digester without Composer
On this page you can find all versions of the php package waynebrummer/mail-digester. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download waynebrummer/mail-digester
More information about waynebrummer/mail-digester
Files in waynebrummer/mail-digester
Package mail-digester
Short Description Will send a summarized email based on notification data attribute.
License Apache-2.0
Informations about the package mail-digester
Laravel Mail Digester
Mail Digester will schedule and run a daily, weekly or monthly summary of unread emails from the default notifications table of Laravel.
Basically for those people who like to ignore broadcasts or slack messages...
Install
Via Composer:
Publish the config file:
Usage Config
Once installed, it will collect all unread emails from the notifications table.
WIP Group together common items from the data attribute.
The following config options are available in config/mail-digester.php
:
-
enabled: Set to
true
orfalse
to enable the sending of the mails. -
frequency: Array set to
daily
,weekly
ormonthly
to schedules for mail digestion. -
occurrence: Physical time to the server or when to trigger summarized mails.
daily
will usehh:mm
weekly
will use e.g1
,2
etc7
monthly
will use1
,2
etclast_day
- mark_read: Will automatically update the unread status of the mail once the summary mail has been sent.
Usage Middleware
Padding the config
requested middleware id a lot with the
notification id will render the notification read.
identifier
'' {url}/notification_id={notification_id} ''
Note on local development testing
Make sure to use mailtrap.io or Telescope or something.
Contributing WIP
Please see CONDUCT for details.
Security
If you discover any security related issues, please email @wayne.brummer instead of using the issue tracker.
Credits
-- None
License
The Apache License (Apache 2.0). Please see License File for more information.
All versions of mail-digester with dependencies
illuminate/database Version ~5.0|~6.0|~7.0
illuminate/console Version ~5.0|~6.0|~7.0
illuminate/support Version ~5.0|~6.0|~7.0