The Laravel Artisan Cheatsheet now has an API. Learn more.

scout:index

Create an index

Options

  • key - The name of the primary key Optional

Arguments

  • name - The name of the index Required
php artisan scout:index [-k|--key [KEY]] [--] <name>