make:resource

Create a new resource

Options

  • collection - Create a resource collection Optional

Arguments

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