XMPP Library

I wrote this XMPP library for PHP because I wanted to write a XMPP driver for the PHP IRC bot, Phergie. I spent some time looking at the libraries that were already out there (XMPPHP and Jaxl). At the time, neither supported XEP-0045 (Multi-User Chat) and weren’t hosted on Github, so I decided to write my own. There are probably some similarities between this library and XMPPHP, since I was using XMPPHP for reference while getting started with this library.

It currently does what I need, namely:

  • Connects to and authenticates (using DIGEST-MD5) against XMPP servers (tested against Openfire and jabberd2)
  • Supports SSL/TLS connections
  • Allows joining of MUC rooms
  • Sends messages to individuals and MUC rooms.

See more on Github: XMPP library for PHP

One thought on “XMPP Library

  1. Hello Alex,

    I’m just looking for XMPP bot :) I’m an IT guy and I want to use your XMPP driver with Phergie in our IT chat room for daily jobs – get stats from McAfee ePO, find IP, display tickets etc…. Just trying to get the thing together with no success for now. Could you write a couple of words just to get me in the right direction ?

    Thanks

    Dmitry

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>