{"repo":"spatie/laravel-feed","free":true,"listed":false,"github":"https://github.com/spatie/laravel-feed","clone":"git clone https://github.com/spatie/laravel-feed.git","description":"Easily generate RSS feeds","language":"PHP","stars":984,"topics":["laravel","php","feed","rss","blog"],"license":"MIT","category":"productivity","readme_excerpt":"Generate RSS feeds in a Laravel app This package provides an easy way to generate a feed for your Laravel application. Supported formats are RSS, Atom), and JSON. There's almost no coding required on your part. Just follow the installation instructions, update your config file, and you're good to go. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: Register the routes the feeds will be displayed on using the feeds -macro. Optionally, you can pass a string as a first argument of the macro. The string will be used as a URL prefix for all configured feeds. Next, you must publish the config file: Here's what that looks like: Optionally you can publish the view files: Usage Imagine you have a model named NewsItem that contains records that you want to have displayed in the feed. First you must implement the Feedable interface on that model. Feedable expects one method: toFeedItem , which should return a FeedItem instance. If you prefer, returning an associative array with the necessary","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-feed/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}