Welcome Guest, Not a member yet? Register   Sign In
Realtime (WebSockets) library with Pusher
#1

Creating a real time web application using PHP is unfortunately still very limited and it can be hard to find WebSocket services that support it.

I'm currently working on a project that is using CodeIgniter as the backend and need to push realtime updates to the client. I ended up using Pusher, a hosted service for WebSockets. They have a PHP SDK that I have now created a CI library wrapper for, so that you can use regular CodeIgniter syntax in your code, for example

PHP Code:
$this->ci_pusher->trigger(); 

You can find my library on Github, https://github.com/darkwhispering/pusher...odeigniter. I hope some of you will find it useful.

Feedback is very welcomed.

I will post the project when live as a reference what can be done with the library and WebSockets.
Reply
#2

Nice work man...
Reply
#3

The project I created the library for is now live and can be found here http://hamptonspicnicproperties.com/

It uses realtime events to sync a phone call with an interactive video. Only works with US numbers.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB