The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
7.x
scout:import
🖥
scout:import
Import the given model into the search index
Options
chunk
- The number of records to import at a time (Defaults to configuration value: `scout.chunk.searchable`)
Optional
Arguments
model
- Class name of model to bulk import
Required
php artisan scout:import [-c|--chunk [CHUNK]] [--] <model>
Click to copy