Phergie plugin for automatically rejoining IRC channels on PART or KICK event.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.php_cs
.travis.yml
LICENSE
README.md
composer.json
composer.lock
phpunit.xml

README.md

enebe-nb/phergie-irc-plugin-react-autorejoin

Phergie plugin for automatically rejoining IRC channels on PART or KICK event.

Build Status

Install

The recommended method of installation is through composer.

{
    "require": {
        "enebe-nb/phergie-irc-plugin-react-autorejoin": "^1.0"
    }
}

See Phergie documentation for more information on installing plugins.

Configuration

return array(
    'plugins' => array(
        new \EnebeNb\Phergie\Plugin\AutoRejoin\Plugin(array(

            // Required: list of channels to rejoin
            'channels' => array('#channel1', '#channel2', '#channelN'),
            // or
            'channels' => '#channel1,#channel2,#channelN',

            // Optional: channel keys
            'keys' => array('key1', 'key2', 'keyN'),
            // or
            'keys' => 'key1,key2,keyN',

        )),
    ),
);

Tests

To run the unit test suite:

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the BSD License. See LICENSE.