making single use command laravel code example
Example 1: how create new command in laravel
php artisan make:command SendEmails
Example 2: laravel create command tutorial
// Optional argument...
email:send {user?}
// Optional argument with default value...
email:send {user=foo}