Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel blade @guest

@auth
    // The user is authenticated...
@endauth
 
@guest
    // The user is not authenticated...
@endguest
  
  @auth('admin')
    // The user is authenticated...
@endauth
 
@guest('admin')
    // The user is not authenticated...
@endguest
 
PREVIOUS NEXT
Tagged: #laravel #blade
ADD COMMENT
Topic
Name
2+5 =