dragon-code/laravel-feeds

Simple generation XML feeds

1.3.0 2025-09-04 21:22 UTC

README

the dragon code laravel feeds the dragon code laravel feeds

Stable Version Total Downloads Github Workflow Status License

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.