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.
Princess Cruise Employment Verification, Princess Cruise lines Category: Customer Service, Data Management, Data Protection, Documentation, Human Resources, Project Management, Recruitment, Report Writing, Time Management, Word Processing Budget: $10 - $50 USD
14-Jan-2026 17:04 GMT
Employment History Verification, melomed pyt holdings Category: Customer Service, Data Collection, Data Entry, Data Management, Documentation, Human Resources, Interviewing, Report Writing, Research, Time Management Budget: $10 - $50 USD
14-Jan-2026 17:02 GMT
Advanced E-commerce Website Development Category: API Integration, Content Management System (CMS), ECommerce, HTML, Payment Gateway Integration, PHP, Web Development, Web Design Budget: ₹37500 - ₹75000 INR
Ortho & Dental Job Verification, Ortho and Dental Category: Customer Service, Data Analysis, Data Entry, Data Management, Recruitment, Report Writing, Research, Time Management, Word Processing Budget: $10 - $50 USD
14-Jan-2026 17:00 GMT
Residential Loan Originator & Client Lead Category: CRM, Customer Service, Internet Marketing, Lead Generation, Leads, Marketing, Real Estate, Sales Budget: $8 - $15 USD
Verify Dr. Ross Employment History, Dr. Reza Ross Category: Audit, Data Entry, Data Management, Documentation, Email Handling, Phone Support, Project Management, Report Writing, Research, Time Management Budget: $10 - $50 USD
Florida Wind Stamp for Shed Category: Architectural Engineering, Construction Engineering, Structural Engineering Budget: $250 - $750 USD
14-Jan-2026 16:55 GMT
TikTok Product Demo Videos Category: Adobe Premiere Pro, After Effects, CapCut, Final Cut Pro, Motion Graphics, Video Editing, Video Production, Video Services Budget: $10 - $100 USD
14-Jan-2026 16:55 GMT
Cancer Specialty Hospital Project in Guwahati Category: 3D Rendering, 3D Visualization, Architecture, AutoCAD, Building Architecture, Building Design, Building Information Modeling, Interior Design, Photoshop, Rhino 3D Budget: ₹12500 - ₹37500 INR
14-Jan-2026 16:53 GMT
Tally Audit Data Analysis Support Category: Accounting, Business Analysis, Data Analysis, Finance, Financial Analysis, Financial Research, Inventory Management, Ratio Analysis Budget: ₹1500 - ₹12500 INR
14-Jan-2026 16:52 GMT
Amazon India Market Research for SkinCare Launch Category: Amazon Product Launch, Business Development, Competitor Analysis, Covers & Packaging, Data Analytics, Internet Marketing, Market Research, Product Management, Product Sourcing Budget: ₹1500 - ₹12500 INR