A simple feed generator for Laravel
PHP HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src cleanups Feb 7, 2018
tests wip Feb 7, 2018
.editorconfig fixed yml formating Aug 25, 2017
.gitignore updated .gitignore Feb 3, 2014
.travis.yml wip Feb 7, 2018
LICENSE cleanups Feb 7, 2018
README.md corrected wrong version Feb 7, 2018
composer.json wip Feb 7, 2018
phpunit.xml updated files indentation Aug 25, 2017

README.md

laravel-feed

Latest Stable Version Total Downloads Build Status License

A simple feed generator for Laravel 5.

Notes

Branch dev-master is for development and is UNSTABLE

Installation

Run the following command and provide the latest stable version (e.g v2.12.1) :

composer require roumen/feed

or add the following to your composer.json file :

For Laravel 5.6

"roumen/feed": "2.12.*"

For Laravel 5.5

"roumen/feed": "2.11.*"

For Laravel 5.4 and lower

"roumen/feed": "2.10.*"

If you are using laravel 5.5 or higher you can skip the service provider registration!

for Laravel 5.4 and lower register this service provider with Laravel :

Roumen\Feed\FeedServiceProvider::class,

and add class alias :

'Feed' => Roumen\Feed\Feed::class,

Publish package views (OPTIONAL) :

php artisan vendor:publish --provider="Roumen\Feed\FeedServiceProvider"

Examples

How to generate basic feed (with optional caching)

How to generate multiple feeds

How to add images to your feed

How to use custom view for your feed

How to use custom content-type for your feed

and more in the Wiki