PHPackages                             phergie/phergie-irc-plugin-react-twitter - 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. [API Development](/categories/api)
4. /
5. phergie/phergie-irc-plugin-react-twitter

AbandonedArchivedLibrary[API Development](/categories/api)

phergie/phergie-irc-plugin-react-twitter
========================================

Phergie plugin for displaying data from tweets

1.0.1(10y ago)11855[1 issues](https://github.com/phergie/phergie-irc-plugin-react-twitter/issues)BSD-2-ClausePHP

Since Mar 13Pushed 6y ago2 watchersCompare

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

READMEChangelog (2)Dependencies (5)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-twitter
========================================

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

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for displaying data from tweets.

[![Build Status](https://camo.githubusercontent.com/e93b89a063d87268940d73cf7d13032a23e8d8387a5d0919dbb4fd7637bb145b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706865726769652f706865726769652d6972632d706c7567696e2d72656163742d747769747465722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/phergie/phergie-irc-plugin-react-twitter)

Install
-------

[](#install)

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

```
{
    "require": {
        "phergie/phergie-irc-plugin-react-twitter": "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 [
    'plugins' => [
        // dependencies
        new \WyriHaximus\Phergie\Plugin\Url\Plugin, // Emits url.host.twitter.com events

        // configuration
        new \Phergie\Irc\Plugin\React\Twitter\Plugin([
            // required string containing OAuth consumer key
            'consumer_key' => 'xvz1evFS4wEEPTGEFPHBog'

            // required string containing OAuth consumer secret
            'consumer_secret' => '9z6157pUbOBqtbm0A0q4r29Y2EYzIHlUwbF4Cl9c'

            // required string containing OAuth token
            'token' => '370773112-GmHxMAgYyLbNEtIKZeRNFsMKPR9EyMZeS9weJAEb'

            // required string containing OAuth token secret
            'token_secret' => '9z6157pUbOBqtbm0A0q4r29Y2EYzIHlUwbF4Cl9c'

            // optional object implementing \Phergie\Irc\Plugin\React\Twitter\FormatterInterface
            // used to format tweets prior to their syndication
            'formatter' => new \Phergie\Irc\Plugin\React\Twitter\DefaultFormatter(' %text% - %created_at.relative% (%url%)', \DateTime::ISO8601)
        ])
    ]
];
```

Usage
-----

[](#usage)

- `twitter username` - fetches and displays the last tweet by @username
- `twitter username 3` - fetches and displays the third last tweet by @username
- `twitter 1234567` - fetches and displays tweet number 1234567
- `http://twitter.com/username/statuses/1234567` - Url plugin routes to this plugin, same output as `twitter 1234567`

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

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~7 days

Total

2

Last Release

3711d 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 (15 commits)")[![sitedyno](https://avatars.githubusercontent.com/u/216721?v=4)](https://github.com/sitedyno "sitedyno (9 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (4 commits)")[![matthewtrask](https://avatars.githubusercontent.com/u/4731244?v=4)](https://github.com/matthewtrask "matthewtrask (3 commits)")[![PSchwisow](https://avatars.githubusercontent.com/u/1644414?v=4)](https://github.com/PSchwisow "PSchwisow (1 commits)")[![BinaryKitten](https://avatars.githubusercontent.com/u/67553?v=4)](https://github.com/BinaryKitten "BinaryKitten (1 commits)")[![Renegade334](https://avatars.githubusercontent.com/u/9092381?v=4)](https://github.com/Renegade334 "Renegade334 (1 commits)")

---

Tags

plugintwitterbotircphergie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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