Laravel Check Auth
use Illuminate\Support\Facades\Auth;
if (Auth::check()) {
// The user is logged in...
}
Yellowed Yacare
use Illuminate\Support\Facades\Auth;
if (Auth::check()) {
// The user is logged in...
}
@guest
// Show content if unauthenticated
@endguest
@auth
// The data only available for auth user
@endauth