How to see all of the options for an artisan command?

Laravel: How to see all of the options for an artisan command?

Just enter --help to the end of a command to see its help.

php artisan make:controller --help

Description:
  Create a new controller class

Usage:
  make:controller [options] [--] <name>

Arguments:
  name                   The name of the class

Options:
  -m, --model[=MODEL]    Generate a resource controller for the given model.
  -r, --resource         Generate a resource controller class.
  -i, --invokable        Generate a single method, invokable controller class.
  -p, --parent[=PARENT]  Generate a nested resource controller class.
      --api              Exclude the create and edit methods from the controller.
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --env[=ENV]        The environment the command should run under
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about How to see all of the options for an artisan command?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the Laravel language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

How to install and use optipng on Linux CentOS

How to get the last character of a string in JS?

How to block IPv6 IP addresses in .htaccess

How to make Apache force download of files (in .htaccess)

How to block an IP range based on CIDR in Apache with .htaccess

What is YAGNI?

How to check if a user is logged in, inside a blade file?

How to block IP addresses in Apache by using regular expressions (regex) in .htaccess

How to hide directory listing in .htaccess?

How to Force www or non-www in htaccess