create controller with 1 methods laravel 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