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.
Game Play Tester & Use-Case Developer Category: API Integration, CSS, Frontend Development, HTML5, JavaScript, JSON, PHP, User Experience Research, User Interface / IA, Web Development Budget: $250 - $750 USD
Short Drama Streaming App Creation Category: Backend Development, Frontend Development, IOS Development, Mobile App Development, Video Streaming Budget: $250 - $750 USD
20-Feb-2026 23:00 GMT
Gestión Instagram y Contenido Category: Adobe Creative Cloud, Adobe Dynamic Tag Management, Content Creation, Graphic Design, Instagram Marketing, Logo Design, Social Media Management Budget: $8 - $15 USD
20-Feb-2026 23:00 GMT
3D Space Crystal GIF Category: 3D Animation, 3D Design, 3D Graphic Design, 3D Modelling, 3D Visualization, After Effects, Animation, GIF Animation Budget: $30 - $250 USD
One-Day Rock Song Production Category: Audio Editing, Audio Production, Audio Services, Editing, Music, Music Production, Sound Design, Sound Engineering Budget: £20 - £250 GBP
20-Feb-2026 22:52 GMT
Logo - for hair Salon Category: Adobe InDesign, Photoshop, Graphic Design, Logo Design Budget: $250 - $750 USD
20-Feb-2026 22:50 GMT
Ai short video Category: AI Animation, AI Art Creation, AI Content Creation, AI Design, AI Development, AI Graphic Design, AI Text To Video, Video Editing, Video Production, Video Services Budget: €8 - €30 EUR
20-Feb-2026 22:49 GMT
Karikatur Digital Unik Category: 2D Animation, 2D Drawing, Character Illustration, Graphic Design, Illustration, Logo Design, Photoshop, Sketching Budget: $1500 - $3000 USD
20-Feb-2026 22:45 GMT
"Blind-Phase" Conflict Resolution Clincial Trials Development Category: API Development, Compliance, Data Analysis, Data Management, Database Development, Database Management, Encryption, Project Management, Software Development, User Interface / IA Budget: $20000 - $50000 USD
20-Feb-2026 22:43 GMT
Smartlead.ai Campaign Audit & Test Category: A / B Testing, Data Analysis, Digital Marketing, Email Marketing, Google Adwords, Internet Marketing, Marketing, Report Writing Budget: $30 - $250 USD