2017 © Pedro Peláez
 

package laravel-rss-feed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

image

ejdelmonico/laravel-rss-feed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  • Monday, November 27, 2017
  • by ejdelmonico
  • Repository
  • 2 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

Laravel RSS Feed Parser

Latest Version on Packagist ![Software License][ico-license] Build Status [![Quality Score][ico-scrutinizer]][link-scrutinizer] StyleCI Status ![Total Downloads][ico-downloads], (*1)

This project is crafted for usage in Laravel 5 applications using >= PHP 7. It was inspired by a need to pull in blog posts from a single url to use in Laravel Blade templates., (*2)

Installation

The LaravelRSSFeed package is installed by requiring the package in your composer.json. You can either do it via composer install, (*3)

composer require ejdelmonico/laravel-rss-feed

or by simply including it., (*4)

{
  "require": {
    "ejdelmonico/laravel-rss-feed": "1.*"
  }
}

Configuration

To use the package, you must register the service provider:, (*5)

// In config/app.php

'providers' => [
  // ...
  ejdelmonico\LaravelRSSFeed\LaravelRSSFeedServiceProvider::class,
],

'aliases' => [
  // ...
  'Feed' => ejdelmonico\LaravelRSSFeed\FeedFacade::class,
],

Usage

php artisan vendor:publish --provider="ejdelmonico\LaravelRSSFeed\LaravelRSSFeedServiceProvider" --tag=config

Here is a simple example:, (*6)

Route::get('feed', function () {
    $url = 'https://blog.errordetective.com/rss/';
    $rss = Feed::makeRequest($url);
    $data = array(
        'title' => $rss->feed->get_title(),
        'permalink' => $rss->feed->get_permalink(),
        'items' => $rss->feed->get_items(),
    );
    return view('pages.feed', $data);
});

Change log

Please see CHANGELOG for more information what has changed recently., (*7)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*8)

Security

If you discover any security related issues, please email ejdelmonico@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

27/11 2017

dev-master

9999999-dev https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

22/11 2016

dev-develop

dev-develop https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

21/11 2016

v1.0.4

1.0.4.0 https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

20/11 2016

v1.0.3

1.0.3.0 https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

03/11 2016

v1.0.1

1.0.1.0 https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

03/11 2016

v1.0.2

1.0.2.0 https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico

02/11 2016

v1.0

1.0.0.0 https://github.com/ejdelmonico/LaravelRSSFeed

A simple Laravel 5 wrapper around SimplePie to pull in RSS feeds

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel rss simplepie ejdelmonico