PHPackages                             vedmant/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. vedmant/laravel-feed-reader

ActiveLibrary

vedmant/laravel-feed-reader
===========================

A simple RSS feed reader for Laravel

1.6.2(1y ago)93554.4k—2.8%152MITPHPPHP &gt;=5.6.0CI passing

Since Mar 18Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (22)Used By (2)

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

[](#laravel-feed-reader)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bfdcf8c6949b108528f07169ca18801e47e1f81149828ccc8e81bee2d86db585/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7665646d616e742f6c61726176656c2d666565642d7265616465722e737667)](https://packagist.org/packages/vedmant/laravel-feed-reader)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](license.md)[![Total Downloads](https://camo.githubusercontent.com/05c467814b3cdb73be45eebb0cfcce8e5687c6e57f898897d6732db02a7b900d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7665646d616e742f6c61726176656c2d666565642d7265616465722e737667)](https://packagist.org/packages/vedmant/laravel-feed-reader)[![Build Status](https://github.com/vedmant/laravel-feed-reader/actions/workflows/tests.yml/badge.svg)](https://github.com/vedmant/laravel-feed-reader/actions)

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

```

Video Tutorial
--------------

[](#video-tutorial)

[![](https://camo.githubusercontent.com/6069ee82dced466effc0f6a5a8cb4a3d406500988acd2df6a143153abbf8b5bd/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f51766e66306b51794a54552f302e6a7067)](https://youtu.be/Qvnf0kQyJTU)

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](http://simplepie.org/wiki/reference/simplepie/start).

### 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

50

—

FairBetter than 96% of packages

Maintenance43

Moderate activity, may be stable

Popularity52

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 56.6% of commits — single point of failure

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 ~210 days

Recently: every ~198 days

Total

20

Last Release

447d 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/dd44964f015f63cc6d2a41b43b68a7ab038e6dd065c1f150c0fb6d5047609be3?d=identicon)[vedmant](/maintainers/vedmant)

---

Top Contributors

[![vedmant](https://avatars.githubusercontent.com/u/5052406?v=4)](https://github.com/vedmant "vedmant (56 commits)")[![awjudd](https://avatars.githubusercontent.com/u/1910996?v=4)](https://github.com/awjudd "awjudd (26 commits)")[![RomainGoncalves](https://avatars.githubusercontent.com/u/1366477?v=4)](https://github.com/RomainGoncalves "RomainGoncalves (5 commits)")[![atmonshi](https://avatars.githubusercontent.com/u/1952412?v=4)](https://github.com/atmonshi "atmonshi (3 commits)")[![bashgeek](https://avatars.githubusercontent.com/u/4669888?v=4)](https://github.com/bashgeek "bashgeek (2 commits)")[![ShaileshInfyom](https://avatars.githubusercontent.com/u/28335166?v=4)](https://github.com/ShaileshInfyom "ShaileshInfyom (1 commits)")[![Undermozes](https://avatars.githubusercontent.com/u/58026189?v=4)](https://github.com/Undermozes "Undermozes (1 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)")[![pqt-edannenberg](https://avatars.githubusercontent.com/u/127100455?v=4)](https://github.com/pqt-edannenberg "pqt-edannenberg (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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