orezomi/yii2rss

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Yii2 RSS Feeder and Reader

Maintainers

Details

github.com/orezomi/yii2rss

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:yii2-extension

1.02 2016-05-10 05:06 UTC

This package is not auto-updated.

Last update: 2021-10-16 02:54:06 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');