dragon-code/laravel-feeds
Composer 安装命令:
composer require dragon-code/laravel-feeds
包简介
Fast export of large datasets to feeds for marketplaces and services
README 文档
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
- Generate feeds, sitemaps, and more
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, 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:
# 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.
统计信息
- 总下载量: 1.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 33
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-30