laravel blade show user auth code example
Example 1: is users logged in laravel blade
@auth
// user logged in
@else
// not logged in
@endauth
Example 2: get user auth in laravel
Auth::user();
@auth
// user logged in
@else
// not logged in
@endauth
Auth::user();