PHP code example of phergie / phergie-irc-plugin-react-commandalias

1. Go to this page and download the library: Download phergie/phergie-irc-plugin-react-commandalias 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/ */

    

phergie / phergie-irc-plugin-react-commandalias example snippets


new \Phergie\Irc\Plugin\React\CommandAlias\Plugin(array(

    // All configuration is p' => 'part',
        'q' => 'quit',
        'btc' => 'wolfram-alpha 1 BTC in US$',
        // ...
    ),

))

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