laravel command line application code example
Example 1: artisan make command
php artisan make:command CommandName
Example 2: laravel create command tutorial
php artisan email:send 1 --queue
php artisan make:command CommandName
php artisan email:send 1 --queue