Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to broadcast message from laravel to clients? #17

Closed
fukuball opened this issue Nov 24, 2014 · 2 comments
Closed

How to broadcast message from laravel to clients? #17

fukuball opened this issue Nov 24, 2014 · 2 comments

Comments

@fukuball
Copy link

  1. I can use javascript to subscribe Latchet topic and broadcast message to all the clients which subscribe the same topic, this is not I want.
  2. I want trigger broadcast from Laravel server side, for example, read the database and broadcast the data to clients who subscribe the specific channel.
  3. I don't want to use Zeromq solution.
    Thanks for reply!
@adosaiguas
Copy link

I use Thruway and Autobahn/JS in order to acomplish what you are looking for. In Laravel, I use Laravel events and a Thruway synchronous client to share the updates with the clients.

And btw, I moved to Thruway because of this: #14

@fukuball
Copy link
Author

@adosaiguas Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants