How to check in a Laravel blade if a user is authenticated or a guest

Authentication

Use the following blade directives to see if a Laravel user is authenticated, or if a Laravel user is a guest: 

@auth
   // The user is authenticated...
@endauth
lang-php

 To see if it's a guest login: 

@guest
   // The user is not authenticated...
@endguest
lang-php

 Reference