PHPackages                             tuisme/laravel-feed-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tuisme/laravel-feed-reader

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tuisme/laravel-feed-reader
==========================

A simple RSS feed reader for Laravel 5|6

1.5.4(4y ago)08MITPHPPHP &gt;=5.6.0

Since Mar 18Pushed 4y agoCompare

[ Source](https://github.com/tuisme/laravel-feed-reader)[ Packagist](https://packagist.org/packages/tuisme/laravel-feed-reader)[ RSS](/packages/tuisme-laravel-feed-reader/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (4)Versions (19)Used By (0)

Laravel Feed Reader
===================

[](#laravel-feed-reader)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d43167944710386b75b694be1d133e37bbb2e94265505792d0f50e2210b98353/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7665646d616e742f6c61726176656c2d666565642d7265616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vedmant/laravel-feed-reader)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](license.md)[![Total Downloads](https://camo.githubusercontent.com/dd7a57909094564b6fb43736a962a97cb5aa832b8068e7af8f0dcb95523d4c56/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7665646d616e742f6c61726176656c2d666565642d7265616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vedmant/laravel-feed-reader)[![Build Status](https://camo.githubusercontent.com/9fb03cfd781a812053cd28d3a2b9b760acbeea3e75b1d6e0a88030e08ec0b8e1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7665646d616e742f6c61726176656c2d666565642d7265616465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vedmant/laravel-feed-reader)

A simple RSS feed reader for **Laravel**

Features
--------

[](#features)

- One command to read any RSS feed
- Different RSS feed profiles enabled

Quick Start
-----------

[](#quick-start)

To install this package run the Composer command

```
$ composer require vedmant/laravel-feed-reader

```

For Laravel 5.5 and above this package supports [Laravel Auto-Discovery](https://laravel.com/docs/master/packages#package-discovery) and will be discovered automatically.

For Laravel versions prior to 5.5 follow next guide:

In your `config/app.php` add following:

```
'providers' => [

    Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
    Illuminate\Auth\AuthServiceProvider::class,
    ...
    Vedmant\FeedReader\FeedReaderServiceProvider::class, // Add this line

[,

'aliases' => [

    'App'        => Illuminate\Support\Facades\App::class,
    'Artisan'    => Illuminate\Support\Facades\Artisan::class,
    ...
    'FeedReader' => Vedmant\FeedReader\Facades\FeedReader::class, // Add this line
],
```

Setup
-----

[](#setup)

### Publishing the Configuration

[](#publishing-the-configuration)

After installing through composer, you should publish the config file. To do this, run the following command:

```
$ php artisan vendor:publish --provider="Vedmant\FeedReader\FeedReaderServiceProvider"

```

### Configuration Values

[](#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\].

### How to use

[](#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:

```
$f = FeedReader::read('https://news.google.com/news/rss');

echo $f->get_title();
echo $f->get_items()[0]->get_title();
echo $f->get_items()[0]->get_content();
```

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](http://simplepie.org/api/index.html) API for all available methods.

#### Passing curl options

[](#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](https://www.php.net/manual/en/function.curl-setopt.php).

Example:

```
// You need to log in to the rss endpoint with a Digest auth
$options = [
    'curl_options' => [
    CURLOPT_HTTPAUTH => CURLAUTH_DIGEST,
    CURLOPT_USERPWD => 'username:password'
]];

$f = FeedReader::read('https://news.google.com/news/rss', 'default', $options);
```

License
-------

[](#license)

Feed Reader is free software distributed under the terms of the MIT license

Additional Information
----------------------

[](#additional-information)

Any issues, please [report here](https://github.com/vedmant/laravel-feed-reader/issues)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~169 days

Recently: every ~88 days

Total

17

Last Release

1784d ago

PHP version history (4 changes)v1.0.0PHP &gt;=5.3.0

1.2.0PHP &gt;=5.4.0

1.2.1PHP &gt;=5.5.0

1.3.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10cba1875f0829048787b834f47c3b3ec474f3b9a975599824a43a053120aec9?d=identicon)[facebook\_sdk](/maintainers/facebook_sdk)

---

Top Contributors

[![awjudd](https://avatars.githubusercontent.com/u/1910996?v=4)](https://github.com/awjudd "awjudd (26 commits)")[![vedmant](https://avatars.githubusercontent.com/u/5052406?v=4)](https://github.com/vedmant "vedmant (26 commits)")[![RomainGoncalves](https://avatars.githubusercontent.com/u/1366477?v=4)](https://github.com/RomainGoncalves "RomainGoncalves (5 commits)")[![TUPM96](https://avatars.githubusercontent.com/u/22741583?v=4)](https://github.com/TUPM96 "TUPM96 (5 commits)")[![ManiacTwister](https://avatars.githubusercontent.com/u/893193?v=4)](https://github.com/ManiacTwister "ManiacTwister (1 commits)")[![AntonNiklasson](https://avatars.githubusercontent.com/u/785676?v=4)](https://github.com/AntonNiklasson "AntonNiklasson (1 commits)")[![konomae](https://avatars.githubusercontent.com/u/1920783?v=4)](https://github.com/konomae "konomae (1 commits)")[![4m1n0s](https://avatars.githubusercontent.com/u/2763884?v=4)](https://github.com/4m1n0s "4m1n0s (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tuisme-laravel-feed-reader/health.svg)

```
[![Health](https://phpackages.com/badges/tuisme-laravel-feed-reader/health.svg)](https://phpackages.com/packages/tuisme-laravel-feed-reader)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M376](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M137](/packages/illuminate-cookie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
