Ionic socketio with php

Having seen many samples of working out a realtime app with node.js. Can I achieve it through php and ionic? Thanks