artisan create make command code example
Example 1: how create new command in laravel
php artisan make:command SendEmails
Example 2: create custom artisan command laravel
php artisan make:command SendEmail
php artisan make:command SendEmails
php artisan make:command SendEmail