PHPackages                             phergie/phergie-irc-plugin-react-youtube - 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-youtube

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

phergie/phergie-irc-plugin-react-youtube
========================================

Phergie plugin for providing information about YouTube videos

2.0.1(10y ago)3299[1 issues](https://github.com/phergie/phergie-irc-plugin-react-youtube/issues)BSD-2-ClausePHP

Since May 22Pushed 6y ago3 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (8)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-youtube
========================================

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

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for providing information about YouTube videos.

[![Build Status](https://camo.githubusercontent.com/59ff049b433aede0fa72e893d125a14f6b394153054c8854007eadf20b1fc980/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706865726769652f706865726769652d6972632d706c7567696e2d72656163742d796f75747562652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/phergie/phergie-irc-plugin-react-youtube)

Install
-------

[](#install)

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

```
{
    "require": {
        "phergie/phergie-irc-plugin-react-youtube": "~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 array(

    'plugins' => array(

        // dependencies
        new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
        new \WyriHaximus\Phergie\Plugin\Http\Plugin,
        new \WyriHaximus\Phergie\Plugin\Url\Plugin,

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

            // required: Google API key
            'key' => 'YOUR_KEY_GOES_HERE',

            // optional: pattern used to format video data before sending it
            'responseFormat' =>
                    '[ %link% ] "%title%" by %author%'
                    . '; Length %duration%'
                    . '; Published %published%'
                    . '; Views %views%'
                    . '; Likes %likes%',

            // optional: date format used for video publish timestamps
            'publishedFormat' => 'n/j/y g:i A',

            // optional: interval format used for video durations
            'durationFormat' => '%im%ss',

        )),

    )
);
```

Markers supported in `responseFormat`:

- `%link%`
- `%title%`
- `%author%`
- `%published%`
- `%views%`
- `%likes%`
- `%dislikes%`
- `%favorites%`
- `%comments%`
- `%duration%`

[How to get a Google API key](https://developers.google.com/youtube/v3/getting-started#before-you-start)

[Format used by `publishedFormat`](http://php.net/manual/en/function.date.php#refsect1-function.date-parameters)

[Format used by `durationFormat`](http://php.net/manual/en/dateinterval.format.php#refsect1-dateinterval.format-parameters)

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

30

—

LowBetter than 64% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~105 days

Recently: every ~73 days

Total

7

Last Release

3751d ago

Major Versions

1.3.0 → 2.0.02015-12-31

### 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 (18 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (8 commits)")[![sitedyno](https://avatars.githubusercontent.com/u/216721?v=4)](https://github.com/sitedyno "sitedyno (2 commits)")[![matthewtrask](https://avatars.githubusercontent.com/u/4731244?v=4)](https://github.com/matthewtrask "matthewtrask (1 commits)")[![Renegade334](https://avatars.githubusercontent.com/u/9092381?v=4)](https://github.com/Renegade334 "Renegade334 (1 commits)")

---

Tags

pluginbotircphergie

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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