Skip to main content

Laravel package · Documentation 1.x

Export large datasets without loading them all into memory

Generate XML, JSON, JSON Lines, CSV, RSS, Sitemap, Instagram, and Yandex feeds through a streaming Laravel workflow.

composer require dragon-code/laravel-feeds
ProductFeed.php
final class ProductFeed extends Feed
{
    public function builder(): Builder
    {
        return Product::query();
    }
}
Generated XML
<product>
  <product>
    <id>1</id>
    <title>Desk lamp</title>
  </product>
</product>

Find your path

Start with a task, then use the reference

PHP 8.2+Laravel 11–13XML · JSON · JSONL · CSV · RSSCompatibility details