IRC Client framework

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

This package is auto-updated.

Last update: 2021-03-29 00:26:52 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();