Download the PHP package wildphp/module-aggregator without Composer
On this page you can find all versions of the php package wildphp/module-aggregator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wildphp/module-aggregator
More information about wildphp/module-aggregator
Files in wildphp/module-aggregator
Package module-aggregator
Short Description Aggregator module for WildPHP
License MIT
Informations about the package module-aggregator
Aggregator Module
Allows searching through various data sources.
System Requirements
If your setup can run the main bot, it can run this module as well. You will need data sources to make use of this module.
Installation
To install this module, we will use composer
:
That will install all required files for the module. In order to activate the module, add the following line to your modules array in config.neon
:
- WildPHP\Modules\Aggregator\Aggregator
The bot will run the module the next time it is started.
Additional sources can be added through composer as well. Refer to the source plugin installation instructions for more details.
Configuration
In order for this module to work, you need at least the following in your config.neon
:
Additional sources may be added in that key in the following format:
Example:
The key
value represents the keyword this source will use. Refer to the Usage section below for more details.
Usage
By default, the lssources
command is available. It simply lists all available and loaded sources by keyword.
All sources can be searched through using the find
command. It has the following syntax:
Example:
Or simply:
to not have the output directed at someone.
Once you have configured the sources, they will be loaded per their keyword and a command is made available for them. For example, in the above example we set the Wikipedia source to the wp
keyword. That means the wp
command is now available.
The wp
command will simply be an alias for find wp
. That means it follows the same syntax as the find
command but you do not have to specify a source.
License
This module is licensed under the MIT license. Please see LICENSE
to read it.
All versions of module-aggregator with dependencies
yoshi2889/collections Version ^0.1
yoshi2889/container Version ^0.1
yoshi2889/validation-closures Version ^0.2