PHP code example of simoheinonen / phergie-irc-plugin-react-calculator
1. Go to this page and download the library: Download simoheinonen/phergie-irc-plugin-react-calculator 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/ */
simoheinonen / phergie-irc-plugin-react-calculator example snippets
return [
'plugins' => [
new \Phergie\Irc\Plugin\React\Command\Plugin(['prefix' => '!']), // dependency
new \SimoHeinonen\Phergie\Plugin\Calculator\Plugin(new \ChrisKonnertz\StringCalc\StringCalc()),
]
];