@foreach($item in $friends)
<p>{{ $item->sender->name }}</p>
...
@endforeach
Route::resource('photos', 'PhotoController');
Route::resource('other', 'OtherController');
Route::group([ 'middleware' => 'auth' ], function() {
Route::post('photos', 'PhotoController@store')->name('photos.strore');
Route::get('photos', 'PhotoController@create')->name('photos.create');
});