Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/timacdonald/debounced-notifications
- Owner: timacdonald
- Created: 2019-08-25T14:53:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T19:35:12.000Z (over 3 years ago)
- Last Synced: 2024-10-03T12:41:52.812Z (about 1 month ago)
- Topics: laravel, notifications, throttle
- Language: PHP
- Homepage:
- Size: 113 KB
- Stars: 31
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
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?