PHP Jabber Client is an event-driven, PHP-based Jabber client class implementation, allowing your script to connect to and interact with Jabber (XMPP) servers.
This script was originally based on class.jabber.php and has been almost completely rewritten using an event-driven model.
You register callbacks in advance for all of the events you wish to be notified about. When the library receives a response from a Jabber server, it immediately fires your callback function. Thus, you are guaranteed to receive all events, regardless of your Jabber server's speed, with no unnecessary delay.
This class also implements countless new XMPP protocol features which were not present in the original class.jabber.php.