Download the PHP package tuisme/laravel-feed-reader without Composer
On this page you can find all versions of the php package tuisme/laravel-feed-reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tuisme/laravel-feed-reader
More information about tuisme/laravel-feed-reader
Files in tuisme/laravel-feed-reader
Package laravel-feed-reader
Short Description A simple RSS feed reader for Laravel 5|6
License MIT
Informations about the package laravel-feed-reader
Laravel Feed Reader
A simple RSS feed reader for Laravel
Features
- One command to read any RSS feed
- Different RSS feed profiles enabled
Quick Start
To install this package run the Composer command
For Laravel 5.5 and above this package supports Laravel Auto-Discovery and will be discovered automatically.
For Laravel versions prior to 5.5 follow next guide:
In your config/app.php
add following:
Setup
Publishing the Configuration
After installing through composer, you should publish the config file. To do this, run the following command:
Configuration Values
Once published, the configuration file contains an array of profiles. These will define how the RSS feed reader will react. By default the "default" profile will used. For more information on: [here]http://simplepie.org/wiki/reference/simplepie/start.
How to use
Once you have all of the configuration settings set up, in order to read a RSS feed all you need to do is call the read
function:
This function accepts 2 parameters however, the second parameter is optional. The second parameter is the configuration profile that should be used when reading the RSS feed.
This will return to you the SimplePie object with the RSS feed in it. See SimplePie API for all available methods.
Passing curl options
You can also pass specific curl options per read()
calls. You can pass these options, as an array
as the 3rd parameter. The list of options can be found on the PHP Manual.
Example:
License
Feed Reader is free software distributed under the terms of the MIT license
Additional Information
Any issues, please report here
All versions of laravel-feed-reader with dependencies
illuminate/support Version ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0
simplepie/simplepie Version ^1.5
ext-curl Version *
ext-mbstring Version *