IRC Client framework

v1.0.0 2014-11-12 19:53 UTC

This package is auto-updated.

Last update: 2024-11-29 04:41:19 UTC


README

Circle CI

#Buttress IRC Client Connect to IRC servers in record time

<?php
use Buttress\IRC\Action\ActionManager;
use Buttress\IRC\Action\ConnectionAction;
use Buttress\IRC\Connection\Connection;
use Buttress\IRC\Message\MessageFactory;

$factory = new MessageFactory();
$manager = new ActionManager($factory);

$connect_action = new ConnectionAction('Buttress', '#buttress');
$manager->add('CONNECT', $connection_action);

$connection = new \Connection($manager, 'irc.freenode.org');
$connection->connect();