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

nova:resource

Create a new resource class

Options

  • model - The model class being represented. Required

Arguments

  • name - The name of the resource Required
php artisan nova:resource [-m|--model MODEL] [--] <name>