artisan laravel in the route code example
Example 1: how to make controller in laravel
php artisan make:controller ShowProfile
Example 2: laravel create resource controller
Route::resource('photos', 'PhotoController');
php artisan make:controller ShowProfile
Route::resource('photos', 'PhotoController');