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.
Experimental Hip-Hop/Pop Album Mixing Category: Audio Editing, Audio Engineering, Audio Production, Audio Services, Music, Music Management, Music Production, Sound Design Budget: $250 - $750 USD
22-Dec-2025 05:04 GMT
deploynment on seperate vps and paynment integration of paytm Category: Affiliate Marketing, App Development, Branding, Content Marketing, Digital Marketing, Email Marketing, Lead Generation, SEO, Social Media Marketing, Web Development Budget: ₹100 - ₹400 INR
22-Dec-2025 05:03 GMT
Customizing Telegram with Extra Features Category: Android, Flutter, IPhone, Mobile App Development, Node.js, PHP, PostgreSQL, React Native Budget: ₹12500 - ₹37500 INR
22-Dec-2025 05:03 GMT
US Shopify Ads Specialist Category: Advertising, Conversion Rate Optimization, Digital Marketing, Facebook Ads, Google Ads, Marketing Strategy, Shopify, Social Media Marketing Budget: $10 - $50 USD
22-Dec-2025 05:03 GMT
Investor-Ready Business Plan Development Category: Business Analysis, Business Development, Business Plan Writing, Business Plans, Business Strategy, Business Writing, Financial Analysis, Market Research Budget: $15 - $25 USD
Meta Ads Strategy & Monitoring Category: A / B Testing, Advertising, Analytics, Digital Marketing, Facebook Ads, Facebook Marketing, Google Adwords, Instagram Marketing, Internet Marketing, Social Media Marketing Budget: ₹12500 - ₹37500 INR
22-Dec-2025 05:01 GMT
Cinematic Private Video Edit Category: Adobe Premiere Pro, After Effects, Animation, Final Cut Pro, Motion Graphics, Video Editing, Video Post Editing, Video Services Budget: $30 - $250 USD
Full Service E-Commerce Website Category: CSS, Graphic Design, HTML, PHP, UI / User Interface, UX / User Experience, Web Development, Web Design Budget: ₹37500 - ₹75000 INR
22-Dec-2025 04:57 GMT
Animated WHS Video Updates Category: Adobe Premiere Pro, After Effects, Animation, Motion Graphics, Script Writing, Video Editing, Video Services, Voice Over Budget: $250 - $750 AUD
Engineering Product Reveal Video Category: Adobe Premiere Pro, After Effects, Animation, Branding, Video Editing, Video Post Editing, Video Production, Video Services Budget: ₹1500 - ₹12500 INR
22-Dec-2025 04:52 GMT
PDF to JSON Data Extraction - 21/12/2025 23:41 EST Category: API Development, Data Extraction, Data Processing, Documentation, Google App Engine, JavaScript, JSON, Python, Scripting, Software Architecture Budget: $30 - $250 USD