Download the PHP package pearlthoughts/yii2-rss without Composer
On this page you can find all versions of the php package pearlthoughts/yii2-rss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pearlthoughts/yii2-rss
More information about pearlthoughts/yii2-rss
Files in pearlthoughts/yii2-rss
Package yii2-rss
Short Description Yii2 Framework extension to provide functionality for consuming RSS and Atom feeds using zend-feed library.
License BSD-3-Clause
Informations about the package yii2-rss
yii2-rss
Yii2 Framework extension to provide functionality for consuming RSS and Atom feeds using zend-feed library.
Installation
Configuration
In config file
Add feed component
Simple usage
Read Rss feed:
This will get RSS feed, parse it and return feed object. For more details you can read the official Zend-feed extention documentaion: http://framework.zend.com/manual/2.2/en/modules/zend.feed.reader.html
Create Rss feed:
Create action Rss in controller
Then it's better to cache it with cache component:
Take a look at Zend-feed writer official documentaion for more advanced usage of Zend-feed http://framework.zend.com/manual/2.2/en/modules/zend.feed.writer.html