In JavaScript it is possible to read messages like this:
pusher = new Pusher('ae104dc5763aeef9aa52');
tradesChannel = pusher.subscribe('live_channel');
tradesChannel.bind('live_event', function (data) {
# process it !
});
How to achieve the same using PHP?
From my understanding the PHP library does send to channel, but can't read from it: https://github.com/pusher/pusher-http-php