hashworks / phergie-plugin-gif-to-gfycat
Phergie插件,可将所有发布的GIF链接转换为WEBM格式,使用Gfycat.com。
v1.3.2
2015-06-22 11:48 UTC
This package is not auto-updated.
Last update: 2024-09-28 17:07:22 UTC
README
Phergie插件,可使用Gfycat将所有发布的GIF链接转换为WEBM格式。
安装
要通过Composer安装,请使用以下命令,它将自动检测最新版本并将其绑定到~
。
composer require hashworks/phergie-plugin-gif-to-gfycat
有关安装和启用插件的更多信息,请参阅Phergie文档。
配置
// 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 ))