
Add public and private SSE notifications to a laravel 11 app
- or -
Post a project like this- Posted:
- Proposals: 11
- Remote
- #4408356
- Awarded








Description
I am developing a website using laravel 11 and would like to add to it the capability to send server-to-browser real time notifications or updates based on certain events.
The server sent event (sse) should, as much as possible, follow these criteria:
1- be based on laravel's real-time mechanisms (event broadcasting, controllers, redis, etc).
2- Public message to be sent to all authenticated users.
3- Private messages to be sent to users based on their $id.
4- The connection should be persistent, re-connects itself if it gets lost for any reason.
5- Favor "ShouldBroadcast" over "ShouldQueue", a worker should dispatch notifications every 60 seconds.
6- The front-end script to display a flash message upon message reception showing the message text.
7- No addition of livewire, alpine, vuejs, react or anything not strictly needed for SSE to work.
8- MOST importantly, the SSE structure should be robust enough to handle 30000 connected users. This includes (only if absolutely necessary) fine tuning nginx and php config settings.
To facilitate working on the project, and since I am using sqlite, I wrapped the whole thing in *.rar that can be downloaded from this link:
https://srv866294.hstgr.cloud/storage/sse.rar
The login page as well as the form to send notifications are already populated with existing users so that you can pick from when you login or after login, test public or private messages. The landing page form (which appears after login) to be used to simulate event triggering. I attach below some pics to give you an idea how it should look like.
Final note: the form in the landing page simulates event triggering by posting the variables to a controller, which would then use "event(new", "broadcast(new" or any applicable method.
Best regards
Miron
Miron I.
100% (4)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

Hi Miron
Do you have anything set up like Reverb/Pusher set up for laravel yet? And if need be would your hosting provider allow for the configuration of ports? Some providers don't ports ready out the box for this kind of thing.Miron I.25 Jul 2025Hi Sir, the reason I opted for SSE is because reverb or socket.io or similar, are over-kill for my need, they are separate processes (which need monitoring) and they require different ports. Now even though I will be hosting on VPS and have all the liberty, I still want SSE because I only need occasional updates to users that can tolerate delay and there is no chat function in my app.
-

Hello Miron, what's your absolute budget for getting this task done? Even if you provide a budget range that is fine.
Miron I.25 Jul 2025Hi ........, unfortunately budget is fixed as mentioned in the project.
Bharatsinh C.25 Jul 2025Hello Miron, are you open/flexible with increasing the budget? As this task will take around a week to get it done. So a mere budget of 100 euros is not sufficient. Let me know your thoughts.
-

hey have you used livewire in this application?
Miron I.24 Jul 2025No sir, no livewire and I don't want to use livewire either due to its limitations