create a command for laravel 6 code example
Example 1: create custom artisan command laravel
php artisan make:command SendEmail
Example 2: laravel create command tutorial
Artisan::command('build {project}', function ($project) {
$this->info("Building {$project}!");
})->describe('Build the project');