laravel make controler with view code example
Example 1: laravel create controller
php artisan make:controller MyController
Example 2: how to make controller in laravel
php artisan make:controller ShowProfile
php artisan make:controller MyController
php artisan make:controller ShowProfile