Support the ongoing development of Laravel.io →
Packages Architecture

Hi,

I'm using this code http://codegains.com/2014/06/laravel-4-notification-system/ for my notification system, it works OK. But now I've run into problems, users are flooded with notifications.

What I mean is, that if 5 users likes one image, author of that image will get 5 notifications with "User X liked your picture image.png". Where X is 5 different name.

Now I want to know if anyone has idea on how to change so that in above case, user will get only 1 notification saying "Users X,Y,Z liked your picture image.png" .

Thanks!

Last updated 3 years ago.
0

omg, no one replys...

0

there is this tutorial http://codegains.com/2014/06/laravel-4-notification-system/

you can check parts 3 and 4 to group your notifications

It's made for Laravel 4 but i think you can easily adapt it =)

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

RokSiEu roksieu Joined 31 Jan 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.