laravel console commands code example
Example 1: artisan make command
php artisan make:command CommandName
Example 2: laravel create command tutorial
$arguments = $this->arguments();
php artisan make:command CommandName
$arguments = $this->arguments();