PHP code example of hashworks / phergie-plugin-srr-database-search

1. Go to this page and download the library: Download hashworks/phergie-plugin-srr-database-search 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/ */

    

hashworks / phergie-plugin-srr-database-search example snippets


// dependency
new \Phergie\Irc\Plugin\React\Command\Plugin,
new \hashworks\Phergie\Plugin\SRRDatabaseSearch\Plugin(array(
    'limit' => 5, // Optional. Limit the number of results replied to the user.
    'hideUrlOnMultipleResults' => false // Optional. Hide URLs on multiple results.
)),