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.
Customer Data Entry in Sheets Category: Copy Typing, Data Analysis, Data Cleansing, Data Entry, Data Management, Data Processing, Excel, Google Sheets Budget: ₹750 - ₹1250 INR
YouTube Vlog Editor & Uploader Category: After Effects, Audio Editing, Post Production, SEO, Video Editing, Video Production, Videography, YouTube Budget: ₹1500 - ₹12500 INR
Vidéos d’annonce jackpot poker Category: 2D Animation, 3D Animation, Adobe Animate, After Effects, AI Animation, Animation, Graphic Design, Video Production Budget: $30 - $250 USD
Instagram Brand Story Video Editing Category: Adobe Premiere Pro, Audio Services, DaVinci Resolve, Final Cut Pro, Video Editing, Video Post Editing, Video Production, Voice Talent Budget: $30 - $250 CAD
28-Feb-2026 04:53 GMT
Responsive WordPress Education Center Site Category: Elementor, HTML, Payment Gateway Integration, PHP, SEO, Web Development, Web Design, Website Optimization, WordPress Budget: $250 - $300 USD
28-Feb-2026 04:53 GMT
Rebuild AI E-Commerce Site Category: ECommerce, HTML, Payment Gateway Integration, PHP, Shopify, Web Development, Web Design, WooCommerce Budget: $30 - $250 AUD
28-Feb-2026 04:52 GMT
Fully Managed AI-Based Avatar Creation Category: AI Agents, AI Animation, AI Art Creation, AI Chatbot, AI Content Creation, AI Development, AI Model Development, Content Strategy, Management, System Admin Budget: $10 - $30 AUD
28-Feb-2026 04:51 GMT
Migrate Hestia Site to Ubuntu Category: Database Management, LAMP, Linux, MySQL, Nginx, System Admin, Ubuntu, Web Development, Web Hosting Budget: ₹400 - ₹750 INR
28-Feb-2026 04:50 GMT
Dogeball Fundraiser Site Updates Category: Blog Writing, Content Creation, Content Management System (CMS), Copywriting, Elementor, HTML, PHP, Web Design, WordPress Budget: $15 - $25 USD