Download the PHP package chrismou/phergie-irc-plugin-react-google without Composer
On this page you can find all versions of the php package chrismou/phergie-irc-plugin-react-google. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package phergie-irc-plugin-react-google
Google plugin for Phergie
Phergie plugin for returning Google search results and estimated result counts.
About
This plugin provides a simple method for performing Google lookups from within IRC. By default, the plugin accepts one of 2 commands (google and googlecount) and outputs either the top result for your search query, or the estimated result count.
I'd also recommend installing the CommandAlias plugin, which can be used to alias the commands (ie, to use "g" instead of "google").
Install
The recommended method of installation is through composer.
See Phergie documentation for more information on installing and enabling plugins.
Configuration
This plugin requires the Command plugin to recognise commands, and the http plugin to query Google for your search results.
If you're new to Phergie or Phergie plugins, see the Phergie setup instructions for more information. Otherwise, add the following references to your config file:
By default, the plugin will respond to "google" for Google searches, and "googlecount" for estimated results. counts.
Or, you can pass references to the providers you want to use as a config array, where the array key is the command you want the bot to respond to and the value is the class to use.
Tests
To run the unit test suite:
If you use docker, you can also run the test suite against all supported PHP versions:
License
Released under the BSD License. See LICENSE.
All versions of phergie-irc-plugin-react-google with dependencies
phergie/phergie-irc-bot-react Version ~2
phergie/phergie-irc-plugin-react-command Version ~2
phergie/phergie-irc-plugin-http Version ~4