yii2mod/yii2-feed Social feeds

extension

Social feed widgets for Yii 2

Latest Stable Version Total Downloads License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii2mod/yii2-feed "*"

or add

"yii2mod/yii2-feed": "*"

to the require section of your composer.json.

Twitter

Configuration

    //set keys at the beginning of config
    \Yii::$container->set('yii2mod\feed\Twitter', [
        'token' => '',
        'tokenSecret' => '',
        'consumerKey' => '',
        'consumerSecret' => '',
    ]);

Usage

    <?php echo yii2mod\feed\Twitter::widget([
        'screenName' => 'disem', 
        'postsCount' => 3
    ]); ?>

RSS

Allows to display multiple rss feeds as one

Usage

<?php echo yii2mod\feed\Rss::widget(['to' => 3, 'feeds' => [
'http://somerss.com/rss.xml',
'http://somerss.com/rss2.xml',
]]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
6 github stars & 3 github forks
0 downloads in the last day
0 downloads in the last 30 days
205 total downloads