laravel kernel console add command by function code example Example: artisan make command php artisan make:command CommandName