PHP Class for push notifications