laravel how to check if user logged in on home page code example
Example: check if logged laravel
use Illuminate\Support\Facades\Auth;
if (Auth::check()) {
// The user is logged in...
}
use Illuminate\Support\Facades\Auth;
if (Auth::check()) {
// The user is logged in...
}