PHP code example of hashworks / phergie-xrel-plugin
1. Go to this page and download the library: Download hashworks/phergie-xrel-plugin 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/ */
hashworks / phergie-xrel-plugin example snippets
// dependency
new \Phergie\Irc\Plugin\React\Command\Plugin,
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \hashworks\Phergie\Plugin\xREL\Plugin(array(
// Optional. Searches for release dirnames in all messages and applies the nfo command on them.
'parseAllMessages' => false,
// Optional. Limit of posts per command.
'limit' => 5
)),