Pusher is a hosted API for quickly, easily and securely adding scalable realtime functionality to web and mobile apps.
Tested on Yii 1.1.10
// Configuration 'pusher'=>array( 'class'=>'Pusher', 'key'=>'{Your Pusher key}', 'secret'=>'{Your Pusher secret}', 'appId'=>'{Your application ID}', ), // Controller $pusher=Yii::app()->pusher; $pusher->trigger('messaging','newMessage',array('msg'=>'Ular melingkar dipagar bundar'));
Total 2 comments
Thank you for this component, could you give an example about how to implement a Presence Channel Subscription with this component?
I want to use the chart example on pusher website can you give the head start. Thanks.
Leave a comment
Please login to leave your comment.