I am working in php framework codeigniter. Now I want to update records via websocket so that information update without page refresh. I can use ajax , jquery but I need to do this via websocket. So please anyone can help how to accomplish this functionality with websocket and how to use it in codeigniter.
Asked
Active
Viewed 8,494 times
4
-
You could look into using a service like **[pusher](http://pusher.com/)** – Jeemusu Oct 30 '13 at 08:32
1 Answers
2
CodeIgniter does not have support for websockets. However, you can use an external library like Ratchet within your CI application.

Ayush
- 41,754
- 51
- 164
- 239
-
Thanks for quick response but still I am unable to setup Rachet, I've installed composer but unable to install rachet so I am unable to use it. Please help me I am really stuck here... – user2935236 Oct 31 '13 at 06:08
-
Just get the files under `src/` from [Ratchet's Github Repo](https://github.com/cboden/Ratchet) – Ayush Oct 31 '13 at 06:10
-
I am still not getting it work. I've done everything but didn't find any file name autoload.php. Can you give any small code that I can run and check what I am doing wrong. – user2935236 Oct 31 '13 at 10:15
-