dragon-code / laravel-feeds
Simple generation XML feeds
Requires
- php: ^8.2
- ext-dom: *
- ext-libxml: *
- dragonmantank/cron-expression: ^3.4
- illuminate/database: ^11.0 || ^12.0
- illuminate/filesystem: ^11.0 || ^12.0
- illuminate/support: ^11.0 || ^12.0
- laravel/prompts: >=0.3.6
Requires (Dev)
- dragon-code/codestyler: ^6.3
- dragon-code/laravel-deploy-operations: ^7.1
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0 || ^10.0
- pestphp/pest: ^3.0 || ^4.0
- pestphp/pest-plugin-laravel: ^3.0 || ^4.0
- pestphp/pest-plugin-type-coverage: ^3.0 || ^4.0
- symfony/var-dumper: ^7.3
- dev-main
- 1.x-dev
- 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-code-style-s2infpj
- dev-andrey-helldar-patch-1
- dev-code-style-3kpnoe6
- dev-dependabot/github_actions/actions/upload-pages-artifact-4
- dev-code-style-ksta9j6
- dev-code-style-h1dl9om
- dev-code-style-bdephno
- dev-code-style-9066egl
- dev-code-style-2suk7r1
This package is auto-updated.
Last update: 2025-09-04 20:40:30 UTC
README
Laravel Feeds is an easy and fast way of exporting a large amount of data to feeds for marketplaces and other consumers.
🌟 Features
- Chunked queries to database
- Draft mode for a process
- Easy property mapping
- Generation of any feeds, sitemaps, etc.
Installation
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, check the database connection settings in the config/feeds.php file.
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:
# For Laravel Deploy Operations php artisan operations # For Laravel Migrations php artisan migrate
To generate all active feeds, use the console command:
php artisan feed:generate
Documentation
📚 You will find full documentation on the dedicated documentation site.
License
This package is licensed under the MIT License.