SmartIRC is a PHP class for communication with IRC networks that conforms to the RFC 2812 (IRC Protocol). It's an API that handles all IRC protocol messages. It is designed for creating IRC bots, chatrooms, and showing IRC related info on Web pages.
Changes in the new 0.5.5 version: Several important bugs were fixed, like unregistered timehandlers that are tried to be called. Most bugfixes were in the channel sync code. Minor features like checking for isOpped(), isVoiced() and isBanned() were added. Tracking of the channel key is now supported, and the reconnect() function takes advantage of it. Compatibilty with PHP 5.0.0b1 was tested.
If your PHP installation has PEAR included, and you have already a PEAR version of SmartIRC then run:
pear upgrade Net_SmartIRC
Otherwise for a new install:
pear install Net_SmartIRC
Or grab the SmartIRC package from the sf.net project page