PHP code example of pschwisow / phergie-irc-plugin-react-altnick
1. Go to this page and download the library: Download pschwisow/phergie-irc-plugin-react-altnick library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pschwisow / phergie-irc-plugin-react-altnick example snippets
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,
])
]
];
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit