asdfx / phergie-irc-plugin-react-url-title-shortener
1.0.2
2019-02-11 08:44 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-11-12 04:15:40 UTC
README
Phergie plugin for getting content of <title> tags and shortening URLs pasted into an IRC channel.
About
This plugin provides URL unfurler (it hits the URL and retrieves the <title>
tag value) and shortener using the is.gd API.
Install
The recommended method of installation is through composer.
composer require asdfx/phergie-irc-plugin-react-url-title-shortener
See Phergie documentation for more information on installing and enabling plugins.
Configuration
This plugin requires the Command plugin to recognise commands.
If you're new to Phergie or Phergie plugins, see the Phergie setup instructions for more information. Otherwise, add the following references to your config file:
return [ // ... 'plugins' => [ new \Phergie\Irc\Plugin\React\Command\Plugin, // dependency new \Asdfx\Phergie\Plugin\URLTitle\Plugin(), ] ]
License
Released under the MIT License. See LICENSE
.