Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hashworks/phergie-movie-search

Phergie plugin to search both IMDB & OMDB.
https://github.com/hashworks/phergie-movie-search

Last synced: about 1 month ago
JSON representation

Phergie plugin to search both IMDB & OMDB.

Awesome Lists containing this project

README

        

# PhergieMovieSearch

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin to search both IMDB & OMDB.

## Install

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require hashworks/phergie-plugin-movie-search
```

See Phergie documentation for more information on
[installing and enabling plugins](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).

## Configuration

```php
// 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%'
))
```