Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📃 Laravel Feeds is an easy and fast way to export large amounts of data into feeds for marketplaces and other consumers.

License

NotificationsYou must be signed in to change notification settings

TheDragonCode/laravel-feeds

Repository files navigation

the dragon code laravel feedsthe dragon code laravel feeds

Stable VersionTotal DownloadsGithub Workflow StatusLicense

Laravel Feeds is an easy and fast way of exporting a large amount of data to feeds for marketplaces and otherconsumers.

🌟 Features

  • Chunked queries to database
  • Draft mode for a process
  • Easy property mapping
  • Generation of any feeds, sitemaps, etc.

Installation

You can install theLaravel Feeds package viaComposer:

composer require dragon-code/laravel-feeds

You should publishthemigrationand theconfig/feeds.php file with:

php artisan vendor:publish --tag="feeds"

Warning

Before running migrations, check the database connection settings in theconfig/feeds.php file.

Now you can run migrations and proceed tocreate feeds.

Basic Usage

To create a feed class, use themake:feed console command:

php artisan make:feed User -t

As a result of executing the console command, the filesapp/Feeds/UserFeed.php andapp/Feeds/Items/UserFeedItem.phpwill be created.

Tip

When creating a feed, an operation/migration will also be created to add it to the database.

If the project uses theLaravel Deploy Operations, then an operationclass will be created, otherwise a migration class will be created.

This is necessary to add and manage information about feeds in the database.

Check theoperation/migration file that was created for you and runthe console command:

# For Laravel Deploy Operationsphp artisan operations# For Laravel Migrationsphp artisan migrate

To generate all active feeds, use the console command:

php artisan feed:generate

Documentation

📚 You will find full documentation on the dedicateddocumentation site.

License

This package is licensed under theMIT License.

About

📃 Laravel Feeds is an easy and fast way to export large amounts of data into feeds for marketplaces and other consumers.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

    Contributors2

    •  
    •  

    [8]ページ先頭

    ©2009-2025 Movatter.jp