orezomi/yii2rss
Composer 安装命令:
composer require orezomi/yii2rss
包简介
Yii2 RSS Feeder and Reader
关键字:
README 文档
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');
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-10