PHPackages                             genericmilk/feeds - 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. genericmilk/feeds

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

genericmilk/feeds
=================

Laravel 5 Service Provider for the SimplePie library

3.0.1(5y ago)12.3kMITPHPPHP &gt;=5.4.0 || ^7.2

Since Feb 17Pushed 5y agoCompare

[ Source](https://github.com/genericmilk/feeds)[ Packagist](https://packagist.org/packages/genericmilk/feeds)[ RSS](/packages/genericmilk-feeds/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (19)Used By (0)

Laravel Feeds (Laravel 8.0.0 Support)
=====================================

[](#laravel-feeds-laravel-800-support)

About
-----

[](#about)

This package takes the abandonware and fixes it up for Laravel 8!

Installation
------------

[](#installation)

The Laravel 5/6/7 Feeds Service Provider can be installed via [Composer](http://getcomposer.org) by requiring the `willvincent/feeds` package in your project's `composer.json`.

```
{
    "require": {
        "willvincent/feeds": "1.1.*"
    }
}
```

Configuration
-------------

[](#configuration)

> If you're using Laravel 5.5 or newer you may skip the next step.

To use the Feeds Service Provider, you must register the provider when bootstrapping your Laravel application.

Find the `providers` key in your `config/app.php` and register the Service Provider.

```
    'providers' => [
        // ...
        willvincent\Feeds\FeedsServiceProvider::class,
    ],
```

Find the `aliases` key in your `config/app.php` and register the Facade.

```
    'aliases' => [
        // ...
        'Feeds'    => willvincent\Feeds\Facades\FeedsFacade::class,
    ],
```

Usage
-----

[](#usage)

Run `php artisan vendor:publish --provider="willvincent\Feeds\FeedsServiceProvider"` to publish the default config file, edit caching setting withing the resulting `config/feeds.php` file as desired.

See [SimplePie Documentation](http://simplepie.org/wiki/) for full API usage documentation.

The make() accepts 3 paramaters, the first parameter is an array of feed URLs, the second parameter is the max number of items to be returned per feed, and while the third parameter is a boolean which you can set to force to read unless content type not a valid RSS.

```
$feed = Feeds::make('http://feed/url/goes/here');
```

###### Note: In Laravel 5 and newer, Facades must either be prefixed with a backslash, or brought into scope with a `use [facadeName]` declaration.

[](#note-in-laravel-5-and-newer-facades-must-either-be-prefixed-with-a-backslash-or-brought-into-scope-with-a-use-facadename-declaration)

### Example controller method, and it's related view:

[](#example-controller-method-and-its-related-view)

Controller:

```
  public function demo() {
    $feed = Feeds::make('http://blog.case.edu/news/feed.atom');
    $data = array(
      'title'     => $feed->get_title(),
      'permalink' => $feed->get_permalink(),
      'items'     => $feed->get_items(),
    );

    return View::make('feed', $data);
  }
```

or Force to read unless content type not a valid RSS

```
  public function demo() {
    $feed = Feeds::make('http://blog.case.edu/news/feed.atom', true); // if RSS Feed has invalid mime types, force to read
    $data = array(
      'title'     => $feed->get_title(),
      'permalink' => $feed->get_permalink(),
      'items'     => $feed->get_items(),
    );

    return View::make('feed', $data);
  }
```

### Multifeeds example controller method, and it's related view:

[](#multifeeds-example-controller-method-and-its-related-view)

Controller:

```
  public function demo() {
    $feed = Feeds::make([
        'http://blog.case.edu/news/feed.atom',
        'http://tutorialslodge.com/feed'
    ], 5);
    $data = array(
      'title'     => $feed->get_title(),
      'permalink' => $feed->get_permalink(),
      'items'     => $feed->get_items(),
    );

    return View::make('feed', $data);
  }
```

or Force to read unless content type not a valid RSS

```
  public function demo() {
        $feed = Feeds::make(['http://blog.case.edu/news/feed.atom',
        'http://tutorialslodge.com/feed'
    ], 5, true); // if RSS Feed has invalid mime types, force to read
    $data = array(
      'title'     => $feed->get_title(),
      'permalink' => $feed->get_permalink(),
      'items'     => $feed->get_items(),
    );

    return View::make('feed', $data);
  }
```

View:

```
@extends('app')

@section('content')

    {{ $title }}

  @foreach ($items as $item)

      {{ $item->get_title() }}
      {{ $item->get_description() }}
      Posted on {{ $item->get_date('j F Y | g:i a') }}

  @endforeach
@endsection
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

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

Recently: every ~168 days

Total

18

Last Release

2078d ago

Major Versions

v1.1.7 → 2.0.02019-09-23

v2.1.0 → 3.0.02020-09-08

PHP version history (2 changes)1.0.1PHP &gt;=5.4.0

2.0.0PHP &gt;=5.4.0 || ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cff61292b60883c06681d13acfaf0942d1cdbb9313a1a111a9f61f9618d9f60?d=identicon)[genericmilk](/maintainers/genericmilk)

---

Top Contributors

[![willvincent](https://avatars.githubusercontent.com/u/689891?v=4)](https://github.com/willvincent "willvincent (35 commits)")[![ammezie](https://avatars.githubusercontent.com/u/6279134?v=4)](https://github.com/ammezie "ammezie (7 commits)")[![koenhoeijmakers](https://avatars.githubusercontent.com/u/2232776?v=4)](https://github.com/koenhoeijmakers "koenhoeijmakers (7 commits)")[![genericmilk](https://avatars.githubusercontent.com/u/1846127?v=4)](https://github.com/genericmilk "genericmilk (4 commits)")[![xvlady](https://avatars.githubusercontent.com/u/3993706?v=4)](https://github.com/xvlady "xvlady (4 commits)")[![ecodrutz](https://avatars.githubusercontent.com/u/24397899?v=4)](https://github.com/ecodrutz "ecodrutz (3 commits)")[![daniesy](https://avatars.githubusercontent.com/u/3399101?v=4)](https://github.com/daniesy "daniesy (2 commits)")[![jonasva](https://avatars.githubusercontent.com/u/8156732?v=4)](https://github.com/jonasva "jonasva (1 commits)")[![mohamedsabil83](https://avatars.githubusercontent.com/u/10126040?v=4)](https://github.com/mohamedsabil83 "mohamedsabil83 (1 commits)")[![uitlaber](https://avatars.githubusercontent.com/u/18505561?v=4)](https://github.com/uitlaber "uitlaber (1 commits)")[![wensonsmith](https://avatars.githubusercontent.com/u/2544185?v=4)](https://github.com/wensonsmith "wensonsmith (1 commits)")[![AhmedFawzy](https://avatars.githubusercontent.com/u/171846?v=4)](https://github.com/AhmedFawzy "AhmedFawzy (1 commits)")[![yamenarahman](https://avatars.githubusercontent.com/u/24607365?v=4)](https://github.com/yamenarahman "yamenarahman (1 commits)")[![arthurkirkosa](https://avatars.githubusercontent.com/u/1099791?v=4)](https://github.com/arthurkirkosa "arthurkirkosa (1 commits)")[![barisbora](https://avatars.githubusercontent.com/u/10472206?v=4)](https://github.com/barisbora "barisbora (1 commits)")[![blueclock](https://avatars.githubusercontent.com/u/586174?v=4)](https://github.com/blueclock "blueclock (1 commits)")[![christianesperar](https://avatars.githubusercontent.com/u/1621344?v=4)](https://github.com/christianesperar "christianesperar (1 commits)")[![gavro](https://avatars.githubusercontent.com/u/467366?v=4)](https://github.com/gavro "gavro (1 commits)")[![haegemon](https://avatars.githubusercontent.com/u/717337?v=4)](https://github.com/haegemon "haegemon (1 commits)")

### Embed Badge

![Health badge](/badges/genericmilk-feeds/health.svg)

```
[![Health](https://phpackages.com/badges/genericmilk-feeds/health.svg)](https://phpackages.com/packages/genericmilk-feeds)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)

PHPackages © 2026

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