hashworks/phergie-plugin-gif-to-gfycat

Phergie plugin to convert all posted GIF links into WEBM using Gfycat.com.

v1.3.2 2015-06-22 11:48 UTC

This package is not auto-updated.

Last update: 2024-12-21 18:09:22 UTC


README

Phergie plugin to convert all posted GIF links into WEBM using Gfycat.

Install

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~.

composer require hashworks/phergie-plugin-gif-to-gfycat

See Phergie documentation for more information on installing and enabling plugins.

Configuration

// dependency
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \hashworks\Phergie\Plugin\GifToGfycat\Plugin(array(
    // Optional. Sets the prefix for posted Gfycat links
    'prefix' => '[GIF to WEBM] ',
    // Optional. Sets the maximum number of links getting converted per PRIVMSG
    'limit' => 10
))