PHPackages                             webwizardsusa/larafeed - 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. webwizardsusa/larafeed

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

webwizardsusa/larafeed
======================

Generate rss feeds

1.0.0(1y ago)098MITPHPPHP ^8.2

Since Oct 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/webwizardsusa/larafeed)[ Packagist](https://packagist.org/packages/webwizardsusa/larafeed)[ Docs](https://webwizardsusa.com)[ RSS](/packages/webwizardsusa-larafeed/feed)WikiDiscussions main Synced 1mo ago

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

RSS Feeds For Laravel
=====================

[](#rss-feeds-for-laravel)

This package provides advanced RSS style feeds, including support for Podcast/ITunes feeds.

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

[](#installation)

You can install the package via composer:

```
composer require webwizardsusa/larafeed

```

### Publishing the configuration (optional)

[](#publishing-the-configuration-optional)

```
php artisan vendor:publish --provider="Webwizardsusa\Larafeed\LarafeedServiceProvider" --tag="larafeed"

```

Usage
-----

[](#usage)

Generating a feed is extremely simple. Let's say you have a model calls Post and want to supply an RSS feed of that. You simply add the interface `Webwizardsusa\Larafeed\Contracts\ProvidesFeedItem` to your model and define the public method toFeedItem():

Models\\Post

```
