PHP code example of phergie / phergie-irc-plugin-react-thefuckingweather
1. Go to this page and download the library: Download phergie/phergie-irc-plugin-react-thefuckingweather 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-thefuckingweather example snippets
return array(
'plugins' => array(
// dependency
new \WyriHaximus\Phergie\Plugin\Http\Plugin,
new \Phergie\Irc\Plugin\React\TheFuckingWeather,
)
);
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit