@foreach ($users as $user) @if ($XXXXX->first) This is the first iteration. @endif @endforeach
@XXXXXXXX ($users as $user) This is user {{ $user->id }} @empty No users found. @endXXXXXXXX
@if (!Auth::check()) Please log in. @endif @XXXXXX (Auth::check()) Please log in. @endXXXXXX
Controller code: $name = '<strong>Taylor</strong>'; return view('welcome', compact('name')); welcome.blade.php code: {!! $name !!}
@can('update', $post) The Current User Can Update The Post @XXXXXX