2017 © Pedro Peláez
 

library phergie-irc-plugin-react-youtube

Phergie plugin for providing information about YouTube videos

image

phergie/phergie-irc-plugin-react-youtube

Phergie plugin for providing information about YouTube videos

  • Thursday, August 25, 2016
  • by elazar
  • Repository
  • 5 Watchers
  • 4 Stars
  • 287 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

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., (*1)

phergie/phergie-irc-plugin-react-youtube

Phergie plugin for providing information about YouTube videos., (*2)

Build Status, (*3)

Install

The recommended method of installation is through composer., (*4)

{
    "require": {
        "phergie/phergie-irc-plugin-react-youtube": "~2"
    }
}

See Phergie documentation for more information on installing and enabling plugins., (*5)

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%, (*6)

How to get a Google API key, (*7)

Format used by publishedFormat, (*8)

Format used by durationFormat, (*9)

Tests

To run the unit test suite:, (*10)

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

License

Released under the BSD License. See LICENSE., (*11)

The Versions

25/08 2016

dev-master

9999999-dev

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

10/02 2016

2.0.1

2.0.1.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

31/12 2015

2.0.0

2.0.0.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

15/06 2015

1.3.0

1.3.0.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

24/04 2015

1.2.1

1.2.1.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

24/04 2015

1.2.0

1.2.0.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

27/12 2014

1.1.0

1.1.0.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

22/05 2014

1.0.0

1.0.0.0

Phergie plugin for providing information about YouTube videos

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie