laravel 7 appname code example
Example 1: artisan app name
php artisan make:command AppName
Example 2: php artisan app:name in laravel 6
composer require andrey-helldar/laravel-app
php artisan make:command AppName
composer require andrey-helldar/laravel-app