Creating a command in laravel is very easy, first you need to create a class in Laravel and extend the Command class.

Declare the signature variable this variable will be used to define the command when calling artisan.

Declare the description variable which will make a description available in the command list when artisan is run.

Import command class in laravel console Kernel

Import class from command in Package Provider if creating a new package.

To find out, visit Felipe Mateus' website 

Felipe Mateus