The Laravel Artisan Cheatsheet now has an API. Learn more.

make:command

Create a new Artisan command

Options

  • command - The terminal command that should be assigned Optional

Arguments

  • name - The name of the command Required
php artisan make:command [--command [COMMAND]] [--] <name>