pschwisow / phergie-irc-plugin-react-altnick
Phergie plugin for switching to alternate nicks when primary is not available
2.0.0
2016-04-22 22:30 UTC
Requires
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phake/phake: 2.0.0-beta2
- phpunit/phpunit: 4.1.*
This package is auto-updated.
Last update: 2024-11-19 09:18:04 UTC
README
Phergie plugin for switching to alternate nicks when primary is not available.
Install
The recommended method of installation is through composer.
{ "require": { "pschwisow/phergie-irc-plugin-react-altnick": "~2" } }
See Phergie documentation for more information on installing and enabling plugins.
Configuration
return [ 'plugins' => [ // configuration new \PSchwisow\Phergie\Plugin\AltNick\Plugin([ // At least one alternate nick 'nicks' => [ 'Foo', 'Foo_', 'FooBar' ], // Optional: if primary nickname is in use, reclaim it if it disconnects 'recovery' => true, ]) ] ];
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
.