api
- Exclude the create and edit methods from the controller. Optionalinvokable
- Generate a single method, invokable controller class. Optionalmodel
- Generate a resource controller for the given model. Optionalparent
- Generate a nested resource controller class. Optionalresource
- Generate a resource controller class. Optionalname
- The name of the class Requiredphp artisan make:controller [-m|--model [MODEL]] [-r|--resource] [-i|--invokable] [-p|--parent [PARENT]] [--api] [--] <name>