PHP code example of hashworks / phergie-plugin-movie-search
1. Go to this page and download the library: Download hashworks/phergie-plugin-movie-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-movie-search example snippets
// dependency
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \Phergie\Irc\Plugin\React\Command\Plugin,
new \hashworks\Phergie\Plugin\MovieSearch\Plugin(array(
// Optional. Sets the output when no specific information is requested.
'responseFormat' => '%title% (%year%) [%imdb-id%], %imdb-rating%★ - %genre% - %plot%'
))