Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timacdonald/debounced-notifications

Basecamp style notification debouncing / throttling for Laravel notifications.
https://github.com/timacdonald/debounced-notifications

laravel notifications throttle

Last synced: 20 days ago
JSON representation

Basecamp style notification debouncing / throttling for Laravel notifications.

Awesome Lists containing this project

README

        

# Bundled Notifications for Laravel

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Ftimacdonald%2Fdebounced-notifications%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/timacdonald/debounced-notifications/master)

Spamming your users with notifications? Want to reduce the noise your app is creating? You are in the right place!

This package can bundle transactional notifications you send from your application into a single notification, be it email, text messages, push notifications, or whatever else. Not only does it bundle notifications, you can also implement a do not distrub / work can wait time period in which all notifications will be delayed. After the period is over, all notifications sent during that time will be bundled into a single notification.

This package is inspired by the functionality offered by basecamp.

## How bundling works

## My Notes
- No config. Container binding is the config.
- Basic throttle per notifiable
- Work can wait / Do not disturb

## Coming later
- Throttle per notification type
- Ordering by notification type

## Unknown
- Should i release the reserved notifications when the job fails?