make:resource

Create a new resource

Options

  • collection - Create a resource collection Optional
  • force - Create the class even if the resource already exists Optional

Arguments

  • name - The name of the resource Required
php artisan make:resource [-f|--force] [-c|--collection] [--] <name>