-
messenger
Laravel messenger. A full messenger suite for your new / existing laravel app! Private and group threads between multiple models, with real-time messaging, reactions, attachments, calling, chat bots, and more! (by RTippin)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You can checkout my Broadcast Interface and Broadcast Implementation to see the flows in which I go through. I have an abstract Broadcast Event Class where a parent only needs to define the broadcastAs such as in my NewMessageBroadcast. Finally, examples of the broadcast being triggered:
So I recently realized even with my custom broadcasting solution, I can still access the toOthers functionality. So long as your event class is using the InteractsWithSockets trait, you can call to the dontBroadcastToCurrentUser method on the instantiated event before dispatching it. So from my above example in my broadcast broker, I can call to that method when building the event class: