api
- Exclude the create and edit methods from the controller. Optionalforce
- Create the class even if the controller already exists Optionalinvokable
- Generate a single method, invokable controller class. Optionalmodel
- Generate a resource controller for the given model. Optionalparent
- Generate a nested resource controller class. Optionalpest
- Generate an accompanying Pest test for the Controller Optionalrequests
- Generate FormRequest classes for store and update. Optionalresource
- Generate a resource controller class. Optionaltest
- Generate an accompanying PHPUnit test for the Controller Optionaltype
- Manually specify the controller stub file to use. Requiredname
- The name of the class Requiredphp artisan make:controller [--api] [--type TYPE] [--force] [-i|--invokable] [-m|--model [MODEL]] [-p|--parent [PARENT]] [-r|--resource] [-R|--requests] [--test] [--pest] [--] <name>