orezomi / yii2rss
Yii2 RSS Feeder and Reader
1.02
2016-05-10 05:06 UTC
This package is not auto-updated.
Last update: 2026-03-01 03:04:41 UTC
README
Yii2 RSS Feeder and Reader
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist orezomi/yii2rss "*"
or add
"orezomi/yii2rss": "*"
to the require section of your composer.json file.
Usage
Configuration web.php
'components' => [
...
'feed'=>[
'class'=>'orezomi\yii2rss\Feedoz',
],
...
]
and in controller or view use this to get feed:
$feed=Yii::$app->feed->reader()->import('http://example.com/rss');