php artisan make:command MakeViewCommand
App Console Commands
Replace MakeViewCommand.php
# Create a view 'home.blade.php' in the default directory
php artisan make:view home
# Create a view 'home.blade.php' in a subdirectory ('pages')
php artisan make:view pages.home