PHP message notification

How can i build PHP message notification with openfire?
Please Help

What do you mean by ‘PHP message notification’?