To check the options of artisan command, Run artisan commands with --help
flag. For example, php artisan make:model --help
and see how many options you have:
1Options: 2 -a, --all Generate a migration, seeder, factory, and resource controller for the model 3 -c, --controller Create a new controller for the model 4 -f, --factory Create a new factory for the model 5 --force Create the class even if the model already exists 6 -m, --migration Create a new migration file for the model 7 -s, --seed Create a new seeder file for the model 8 -p, --pivot Indicates if the generated model should be a custom intermediate table model 9 -r, --resource Indicates if the generated controller should be a resource controller10 --api Indicates if the generated controller should be an API controller11 -h, --help Display this help message12 -q, --quiet Do not output any message13 -V, --version Display this application version14 --ansi Force ANSI output15 --no-ansi Disable ANSI output16 -n, --no-interaction Do not ask any interactive question17 --env[=ENV] The environment the command should run under18 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug