PHPackages                             pschwisow/phergie-irc-plugin-react-url-shorten - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pschwisow/phergie-irc-plugin-react-url-shorten

ActiveLibrary

pschwisow/phergie-irc-plugin-react-url-shorten
==============================================

Phergie plugin to provide URL shortening services for Url plugin (and others)

3.0.2(9y ago)1812BSD-2-ClausePHP

Since Jan 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/PSchwisow/phergie-irc-plugin-react-url-shorten)[ Packagist](https://packagist.org/packages/pschwisow/phergie-irc-plugin-react-url-shorten)[ RSS](/packages/pschwisow-phergie-irc-plugin-react-url-shorten/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (7)Used By (0)

pschwisow/phergie-irc-plugin-react-url-shorten
==============================================

[](#pschwisowphergie-irc-plugin-react-url-shorten)

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin to provide URL shortening services for Url plugin (and others).

[![Build Status](https://camo.githubusercontent.com/8bf3de054d39f56a972bc167af64ce39ab85fd72b09a95b6bfeb4d4d9aa97f60/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f505363687769736f772f706865726769652d6972632d706c7567696e2d72656163742d75726c2d73686f7274656e2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/PSchwisow/phergie-irc-plugin-react-url-shorten) [![Code Climate](https://camo.githubusercontent.com/f133fb05901da8cf92407a98d0e0399fc1e138aa4b15e052522d5750000bae1a/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f505363687769736f772f706865726769652d6972632d706c7567696e2d72656163742d75726c2d73686f7274656e2f6261646765732f6770612e737667)](https://codeclimate.com/github/PSchwisow/phergie-irc-plugin-react-url-shorten) [![Test Coverage](https://camo.githubusercontent.com/71925590ffe13d29d1b19c15832c5c7d247650d5e4fca6fb55c243122305af63/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f505363687769736f772f706865726769652d6972632d706c7567696e2d72656163742d75726c2d73686f7274656e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/PSchwisow/phergie-irc-plugin-react-url-shorten)

Install
-------

[](#install)

The recommended method of installation is [through composer](http://getcomposer.org).

```
{
    "require": {
        "pschwisow/phergie-irc-plugin-react-url-shorten": "^2"
    }
}
```

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

Configuration
-------------

[](#configuration)

```
return [
    'plugins' => [
        // dependencies
        new \Phergie\Plugin\Dns\Plugin, // Handles DNS lookups for the HTTP plugin
        new \Phergie\Plugin\Http\Plugin, // Handles the HTTP requests for this plugin
        new \Phergie\Irc\Plugin\React\Url\Plugin([
            'handler' => new \Phergie\Irc\Plugin\React\Url\DefaultUrlHandler('[%url-short%] %composed-title%')
        ]), // Emits url.shorten.* events

        // configuration
        new \PSchwisow\Phergie\Plugin\UrlShorten\Plugin([
            // All configuration is optional

            // Specify the classname of the shortener adapter
            'service' => 'Gscio', // FQCN or relative to PSchwisow\Phergie\Plugin\UrlShorten\Adapter

            // Override adapter's minimum length to attempt to shorten
            'minimumLength' => 15,

            // Add to list of hosts to skip shortening (presumably because they are already shortened)
            'skipHosts' => ['abc.com', 'xyz.net']

            // Disable the default list of hosts to skip shortening
            'disableDefaultSkipHosts' => true
        ])
    ]
];
```

Tests
-----

[](#tests)

To run the unit test suite:

```
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

```

License
-------

[](#license)

Released under the BSD License. See `LICENSE`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 81.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~164 days

Recently: every ~133 days

Total

6

Last Release

3302d ago

Major Versions

1.0.1 → 2.0.02015-12-15

2.0.0 → 3.0.02016-04-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/11ea90f86f17a9e8c1697b4c514bff5de78d9d6dea92e2a3cde723d20f48847f?d=identicon)[PSchwisow](/maintainers/PSchwisow)

---

Top Contributors

[![PSchwisow](https://avatars.githubusercontent.com/u/1644414?v=4)](https://github.com/PSchwisow "PSchwisow (26 commits)")[![grahamc](https://avatars.githubusercontent.com/u/76716?v=4)](https://github.com/grahamc "grahamc (2 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (2 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")[![EricHogue](https://avatars.githubusercontent.com/u/148605?v=4)](https://github.com/EricHogue "EricHogue (1 commits)")

---

Tags

pluginbotircphergie

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pschwisow-phergie-irc-plugin-react-url-shorten/health.svg)

```
[![Health](https://phpackages.com/badges/pschwisow-phergie-irc-plugin-react-url-shorten/health.svg)](https://phpackages.com/packages/pschwisow-phergie-irc-plugin-react-url-shorten)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
