make:resource

Create a new resource

Options

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

Arguments

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