dragon-code / laravel-feeds
Fast export of large datasets to feeds for marketplaces and services
Requires
- php: ^8.4
- ext-dom: *
- ext-libxml: *
- dragonmantank/cron-expression: ^3.4
- illuminate/console: ^13.0
- illuminate/database: ^13.0
- illuminate/filesystem: ^13.0
- illuminate/support: ^13.0
- laravel/agent-detector: ^2.0.2
- spatie/temporary-directory: ^2.3
Requires (Dev)
- dragon-code/benchmark: ^4.6
- dragon-code/codestyler: ^6.3
- dragon-code/laravel-deploy-operations: ^7.1
- mockery/mockery: ^1.6
- orchestra/testbench: ^11.0
- pestphp/pest: ^5.0
- pestphp/pest-plugin-laravel: ^5.0
- pestphp/pest-plugin-type-coverage: ^5.0
- spatie/laravel-data: ^4.23
- symfony/var-dumper: ^7.3 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 2.0.0
- 1.x-dev
- 1.22.1
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.1
- 1.16.0
- 1.15.0
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.0
- dev-fix/311-diagnostic-path
- dev-fix/310-date-config-resolution
- dev-fix/issue-308-publication-ownership
- dev-fix/309-export-capacity-batches
- dev-docs/2x-upgrade-guide
- dev-patch/2026-10-14/17-42
- dev-fix/docs-playwright-image
- dev-andrey-helldar-patch-1
- dev-docs/config-attributes
- dev-fix/docs-extract-zip-alerts
- dev-docs/upgrade-1x-to-2x
- dev-build/docs-dependencies
- dev-docs/rename-ai-agents-files
- dev-code-style-81cloa5
- dev-feat/2.x-upgrade
- dev-fix/docs-ci-tests
- dev-docs/ai-agents-page
- dev-feat/283-feed-slugs
- dev-feat/285-feed-converter-config
- dev-feat/284-date-format
This package is auto-updated.
Last update: 2026-10-14 19:30:14 UTC
README
Laravel Feeds is an easy and fast way to export large amounts of data into feeds for marketplaces and other consumers.
🌟 Features
- Chunked queries to the database
- Draft mode during processing
- Easy property mapping
- Custom Eloquent models for feed registrations
- Generate feeds, sitemaps, and more
Installation
Laravel Feeds 2.x requires Laravel 13.x and PHP 8.4 or later in the 8.x series. The 1.x documentation remains available for applications on earlier Laravel or PHP versions.
You can install the Laravel Feeds package via Composer:
composer require dragon-code/laravel-feeds
You should publish the migration and the config/feeds.php file with:
php artisan vendor:publish --tag="feeds"
Warning
Before running migrations, verify the database connection settings in config/feeds.php.
Now you can run migrations and proceed to create feeds.
Basic Usage
To create a feed class, use the make:feed console command:
php artisan make:feed User -t
As a result of executing the console command, the files app/Feeds/UserFeed.php and app/Feeds/Items/UserFeedItem.php
will be created.
Check the operation/migration file that was created for you and run the console command:
# With Laravel Deploy Operations php artisan migrate php artisan operations # Without Laravel Deploy Operations php artisan migrate
To generate all active feeds, use the console command:
php artisan feed:generate
Documentation
| Guide | Description |
|---|---|
| Getting Started | Package overview and first steps |
| Installation | Installation, publishing, and migrations |
| Create Feeds | Feed, item, and info classes |
| Generation | Commands, queues, and scheduling |
| Supported Formats | XML, JSON, JSON Lines, CSV, and RSS |
| Recipes | Sitemap, Instagram, Yandex, and RSS examples |
The documentation site includes version and language selectors for 2.x and 1.x.
License
This package is licensed under the MIT License.