PHPackages                             phergie/phergie-irc-plugin-react-feedticker - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phergie/phergie-irc-plugin-react-feedticker

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

phergie/phergie-irc-plugin-react-feedticker
===========================================

Phergie plugin for syndicating data from feed items to channels or users

1.0.0(11y ago)5572[2 issues](https://github.com/phergie/phergie-irc-plugin-react-feedticker/issues)BSD-2-ClausePHP

Since Dec 27Pushed 6y ago3 watchersCompare

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

READMEChangelogDependencies (6)Versions (2)Used By (0)

This project is abandoned
=========================

[](#this-project-is-abandoned)

This repo is being kept for posterity and will be archived in a readonly state. If you're interested it can be forked under a new Composer namespace/GitHub organization.

phergie/phergie-irc-plugin-react-feedticker
===========================================

[](#phergiephergie-irc-plugin-react-feedticker)

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for syndicating data from feed items to channels or users.

[![Build Status](https://camo.githubusercontent.com/97f6d2240b8a069bc7e178a7813b929ade0b30e32b612eead70d3be9c0517251/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706865726769652f706865726769652d6972632d706c7567696e2d72656163742d666565647469636b65722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/phergie/phergie-irc-plugin-react-feedticker)

Install
-------

[](#install)

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

```
{
    "require": {
        "phergie/phergie-irc-plugin-react-feedticker": "dev-master"
    }
}
```

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 array(
    'plugins' => array(
        // dependencies
        new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
        new \WyriHaximus\Phergie\Plugin\Http\Plugin,

        new \Phergie\Irc\Plugin\React\FeedTicker\Plugin(array(

            // required: list of feed URLs to poll for content
            'urls' => array(
                'http://feeds.mashable.com/Mashable',
                'http://readwrite.com/rss.xml',
                // ...
            ),

            // required: lists of channels or users to receive syndicated feed items
            //           keyed by associated connection mask
            'targets' => array(
                'nick1!user1@host1' => array(
                    '#channel1',
                    'user1',
                    // ...
                ),
                'nick2!user2@host2' => array(
                    '#channel2',
                    'user2',
                    // ...
                ),
                // ...
            ),

            // optional: time in seconds to wait between polls of feeds for new
            //           content, defaults to 300 (5 minutes)
            'interval' => 300,

            // optional: object implementing \Phergie\Irc\Plugin\React\FeedTicker\FormatterInterface
            //           used to format data from feed items prior to their syndication
            'formatter' => new DefaultFormatter(
                '%title% [ %link% ] by %authorname% at %datemodified%',
                'Y-m-d H:i:s'
            ),
        )),
    ),
);
```

Default Formatter
-----------------

[](#default-formatter)

The default formatter, represented by the [`DefaultFormatter` class](https://github.com/phergie/phergie-irc-plugin-react-feedticker/blob/master/src/DefaultFormatter.php), should be sufficient for most use cases. Its constructor accepts two parameters. The first is a string containing placeholders for various data from feed items. Below is a list of the supported placeholders:

- `%authorname%`
- `%authoremail%`
- `%authoruri%`
- `%content%`
- `%datecreated%`
- `%datemodified%`
- `%description%`
- `%id%`
- `%link%`
- `%links%`
- `%permalink%`
- `%title%`
- `%commentcount%`
- `%commentlink%`
- `%commentfeedlink%`

The second parameter is an optional string containing a [date format](http://php.net/manual/en/function.date.php) to use when formatting the value of the `%datecreated%` and `%datemodified%` placeholders. It defaults to the ISO-8601 format.

Custom Formatters
-----------------

[](#custom-formatters)

In cases where `DefaultFormatter` does not meet your needs, you can create your own formatter. This is merely a class that implements [`FormatterInterface`](https://github.com/phergie/phergie-irc-plugin-react-feedticker/blob/master/src/FormatterInterface.php).

Tests
-----

[](#tests)

To run the unit test suite:

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

```

License
-------

[](#license)

Released under the BSD License. See `LICENSE`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% 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

Unknown

Total

1

Last Release

4159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80dec604abed1b21daafc54c430468444a2ad163ad5f8229348b8d241b797778?d=identicon)[elazar](/maintainers/elazar)

---

Top Contributors

[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (25 commits)")[![matthewtrask](https://avatars.githubusercontent.com/u/4731244?v=4)](https://github.com/matthewtrask "matthewtrask (2 commits)")[![Renegade334](https://avatars.githubusercontent.com/u/9092381?v=4)](https://github.com/Renegade334 "Renegade334 (1 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (1 commits)")

---

Tags

pluginbotircphergie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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